浏览代码

Reenabled BlockListener queue - fixes Herbalism but breaks regular
blocks it would seeem.

GJ 13 年之前
父节点
当前提交
a9b1ebb063
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/gmail/nossr50/listeners/mcBlockListener.java

+ 2 - 2
src/main/java/com/gmail/nossr50/listeners/mcBlockListener.java

@@ -93,11 +93,11 @@ public class mcBlockListener implements Listener
     		if (id == 17 || id == 73 || id == 74 || id == 81 || id == 83 || id == 86 || id == 91 || id == 106 || id == 98)
     		if (id == 17 || id == 73 || id == 74 || id == 81 || id == 83 || id == 86 || id == 91 || id == 106 || id == 98)
     			plugin.misc.blockWatchList.add(block);
     			plugin.misc.blockWatchList.add(block);
     		else {
     		else {
-    			block.setData((byte) 5); //Change the byte
+//    			block.setData((byte) 5); //Change the byte
     			//The following is a method to get around a breakage in 1.1-R2 and onward
     			//The following is a method to get around a breakage in 1.1-R2 and onward
     			//it should be removed as soon as functionality to change a block
     			//it should be removed as soon as functionality to change a block
     			//in this event returns.
     			//in this event returns.
-//    			plugin.changeQueue.push(block);
+    			plugin.changeQueue.push(block);
     		}
     		}
     	}
     	}