-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
robot.suck() does not fire any event #900
Comments
OC uses inventories' |
Thanks for suggestion, I will try it. |
Im trying modify robot.suck, but event still not canceled: InventoryWorldControl.scala
When use for example block break event in java, event is canceled when player cannot break block due protection plugin. Working example from one of my mod (LaserHitsBlockEvent is from ic2 api):
If player cannot break block, laser event is canceled too. Similar way I would like use in th OC. |
…ting with in-world inventories and in the inventory driver. See #900. Hopefully doesn't break anything...
Will be possible add some event to api when robot manipulate with containers in the map?
If on the server is some kind of protections, robot bypass all.
For example simulate playerinteract as robot owner will be fine. Then if simulation fail, cancel robot suck event.
The text was updated successfully, but these errors were encountered: