Browse Source

2.1.5 release
mcMMO no longer ignores cancelled PlayerInteractEvents due to conflicts with super ability activations

nossr50 6 years ago
parent
commit
90520cd50b
3 changed files with 5 additions and 2 deletions
  1. 3 0
      Changelog.txt
  2. 1 1
      pom.xml
  3. 1 1
      src/main/java/com/gmail/nossr50/listeners/PlayerListener.java

+ 3 - 0
Changelog.txt

@@ -7,6 +7,9 @@ Key:
   ! Change
   - Removal
 
+Version 2.1.5
+    mcMMO no longer ignores cancelled events relating to the player left or right clicking
+
 Version 2.1.4
     Fixed a bug where Alchemy didn't gain XP
     Fixed a bug where Archery gained XP from mob spawned entities

+ 1 - 1
pom.xml

@@ -2,7 +2,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.gmail.nossr50.mcMMO</groupId>
     <artifactId>mcMMO</artifactId>
-    <version>2.1.4</version>
+    <version>2.1.5</version>
     <name>mcMMO</name>
     <url>https://github.com/mcMMO-Dev/mcMMO</url>
     <scm>

+ 1 - 1
src/main/java/com/gmail/nossr50/listeners/PlayerListener.java

@@ -583,7 +583,7 @@ public class PlayerListener implements Listener {
      *
      * @param event The event to monitor
      */
-    @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
+    @EventHandler(priority = EventPriority.MONITOR)
     public void onPlayerInteractMonitor(PlayerInteractEvent event) {
         /* WORLD BLACKLIST CHECK */
         if(WorldBlacklist.isWorldBlacklisted(event.getPlayer().getWorld()))