浏览代码

Applying a temporary patch to stop the wrong sand and gravel from being flagged as touched by players.

Glitchfinder 12 年之前
父节点
当前提交
b93dafee63
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/main/java/com/gmail/nossr50/listeners/BlockListener.java

+ 4 - 0
src/main/java/com/gmail/nossr50/listeners/BlockListener.java

@@ -78,11 +78,14 @@ public class BlockListener implements Listener {
         }
     }
 
+
     /**
      * Monitor BlockPhysics events.
      *
      * @param event The event to monitor
      */
+     // Disabled until a better patch can be applied. This does nothing but flag the wrong block.
+/*
     @EventHandler(priority = EventPriority.MONITOR)
     public void onBlockPhysics(BlockPhysicsEvent event) {
         //TODO: Figure out how to REMOVE metadata from the location the sand/gravel fell from.
@@ -96,6 +99,7 @@ public class BlockListener implements Listener {
             }
         }
     }
+*/
 
     /**
      * Monitor BlockPistonRetract events.