PlayerInteractEvent cancelled by default in 1.12.

XMLWordPrintable

    • Type: Bug
    • Resolution: Invalid
    • Priority: Major
    • Environment:

      OS: Linux UbutnuĀ 16

      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.

            Assignee:
            Unassigned
            Reporter:
            Joseph
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: