-
Notifications
You must be signed in to change notification settings - Fork 40
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
Shift clicking a pearl into a furnace breaks tracking #33
Comments
makes sense; different tile entities trigger different types of event triggers. I would recommend adding some debug code to output those Enums, and match against the logic in tracking, to see what needs improving. |
Is there a way to determine ahead of time if something will actually get placed into an inventory slot during a |
so far in my testing of this nature... no. You basically need increasingly complex checks to decide if something will happen, or a post-check to validate that it did happen ... none of which is really supported and much of which is vulnerable to "rapid clicks" or other stupidly degenerate outcomes due to how minecraft handles things and as a consequence how spigot wraps and exposes it. Simplest route is just prevent placement in all but a select few containers, then fully enumerating the containers you want to support. |
I think it is sufficient to limit it to only inventories that can accept every item in every slot, so hoppers, chests, double chests, dispensers, droppers. |
That should simplify the logic a good deal. |
Added a method to fetch the pearl that the player is supposed to link to. This will work to fix this bug for now.
Use pearlApi vs getInstance
This happens even when the furnace is already full. The pearl stays in your inventory, but
/ep check
will show it as being in the furnace, or in some cases, a block at the coordinates of the furnace.The text was updated successfully, but these errors were encountered: