2015-02-26 23:41:06 +01:00
|
|
|
--- /home/matt/mc-dev-private//net/minecraft/server/BlockDaylightDetector.java 2015-02-26 22:40:22.091608145 +0000
|
|
|
|
+++ src/main/java/net/minecraft/server/BlockDaylightDetector.java 2015-02-26 22:40:22.091608145 +0000
|
2014-11-25 22:32:16 +01:00
|
|
|
@@ -41,6 +41,7 @@
|
|
|
|
}
|
|
|
|
|
|
|
|
if (((Integer) iblockdata.get(BlockDaylightDetector.POWER)).intValue() != i) {
|
|
|
|
+ i = org.bukkit.craftbukkit.event.CraftEventFactory.callRedstoneChange(world, blockposition.getX(), blockposition.getY(), blockposition.getZ(), ((Integer) iblockdata.get(POWER)), i).getNewCurrent(); // CraftBukkit - Call BlockRedstoneEvent
|
|
|
|
world.setTypeAndData(blockposition, iblockdata.set(BlockDaylightDetector.POWER, Integer.valueOf(i)), 3);
|
|
|
|
}
|
|
|
|
|