summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockCommand.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/BlockCommand.patch')
-rw-r--r--nms-patches/BlockCommand.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/nms-patches/BlockCommand.patch b/nms-patches/BlockCommand.patch
index c791a4a0..808f7944 100644
--- a/nms-patches/BlockCommand.patch
+++ b/nms-patches/BlockCommand.patch
@@ -1,16 +1,16 @@
--- a/net/minecraft/server/BlockCommand.java
+++ b/net/minecraft/server/BlockCommand.java
-@@ -3,6 +3,8 @@
+@@ -2,6 +2,8 @@
+
import java.util.Random;
- import javax.annotation.Nullable;
+import org.bukkit.event.block.BlockRedstoneEvent; // CraftBukkit
+
public class BlockCommand extends BlockTileEntity {
public static final BlockStateDirection a = BlockDirectional.FACING;
-@@ -30,7 +32,16 @@
- boolean flag1 = tileentitycommand.g();
+@@ -29,7 +31,16 @@
+ boolean flag1 = tileentitycommand.f();
boolean flag2 = tileentitycommand.h();
- if (flag && !flag1) {
@@ -27,7 +27,7 @@
tileentitycommand.a(true);
if (tileentitycommand.k() != TileEntityCommand.Type.SEQUENCE && !flag2) {
boolean flag3 = !tileentitycommand.l() || this.e(world, blockposition, iblockdata);
-@@ -41,7 +52,7 @@
+@@ -40,7 +51,7 @@
this.c(world, blockposition);
}
}