@@ -2,13 +2,13 @@
|
||||
+++ b/net/minecraft/server/BlockNote.java
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
if (flag != ((Boolean) iblockdata.get(BlockNote.POWERED)).booleanValue()) {
|
||||
if (flag != (Boolean) iblockdata.get(BlockNote.POWERED)) {
|
||||
if (flag) {
|
||||
- this.play(world, blockposition);
|
||||
+ this.play(world, blockposition, iblockdata); // CraftBukkit
|
||||
}
|
||||
|
||||
world.setTypeAndData(blockposition, (IBlockData) iblockdata.set(BlockNote.POWERED, Boolean.valueOf(flag)), 3);
|
||||
world.setTypeAndData(blockposition, (IBlockData) iblockdata.set(BlockNote.POWERED, flag), 3);
|
||||
@@ -32,9 +32,14 @@
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user