mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 23:22:10 -07:00
Update to Minecraft 1.11
This commit is contained in:
@@ -18,13 +18,13 @@
|
||||
+ return;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
world.setTypeAndData(blockposition, this.y(iblockdata), 2);
|
||||
world.setTypeAndData(blockposition, this.A(iblockdata), 2);
|
||||
} else if (!this.d) {
|
||||
+ // CraftBukkit start
|
||||
+ if (CraftEventFactory.callRedstoneChange(world, blockposition.getX(), blockposition.getY(), blockposition.getZ(), 0, 15).getNewCurrent() != 15) {
|
||||
+ return;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
world.setTypeAndData(blockposition, this.x(iblockdata), 2);
|
||||
world.setTypeAndData(blockposition, this.z(iblockdata), 2);
|
||||
if (!flag) {
|
||||
world.a(blockposition, this.x(iblockdata).getBlock(), this.D(iblockdata), -1);
|
||||
world.a(blockposition, this.z(iblockdata).getBlock(), this.F(iblockdata), -1);
|
||||
|
Reference in New Issue
Block a user