[BUILDTOOLS-348] PlayerInteractEvent cancelled by default in 1.12. Created: 31/Jul/17 Updated: 01/Aug/17 Resolved: 31/Jul/17 |
|
Status: | Resolved |
Project: | BuildTools |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Joseph | Assignee: | Unassigned |
Resolution: | Invalid | Votes: | 0 |
Labels: | 1.12, Bug | ||
Environment: |
OS: Linux Ubutnu 16 |
Attachments: |
![]() ![]() |
Description |
When trying to check if the PlayerInteract event is canceled to make sure my code doesn't run I noticed it seemed it was always canceled when I right click the air with armor. I am not sure why it was doing that so I disabled all plugins but mine and it still canceled when I right click armor in the air to put it on. I check this for my Crazy Enchantment plugin to know when a player puts on armor with a potion effect enchantment so that I can add the effects unless it is canceled. I tested this by using a debug message and it always stopped at 2 when right clicking any item in the air. |
Comments |
Comment by Joseph [ 01/Aug/17 ] |
Ah, sorry about that. When I tested a while ago it worked I thought but I guess not because I down graded and its doing it still. Sorry about the false report. |
Comment by md_5 [ 31/Jul/17 ] |
Events that do nothing to the world are cancelled. |