diff options
author | md_5 <git@md-5.net> | 2016-03-01 08:32:46 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-01 09:32:45 +1100 |
commit | aa008dff0f9bedbe88e1fe79831776b0a52eb90a (patch) | |
tree | cb520e0f4cc5d683fb9b7fb95de37480a7443dfb /nms-patches/BlockTripwireHook.patch | |
parent | e1ebe524a78e27f6a2829ed4574fded3779094e1 (diff) | |
download | craftbukkit-aa008dff0f9bedbe88e1fe79831776b0a52eb90a.tar craftbukkit-aa008dff0f9bedbe88e1fe79831776b0a52eb90a.tar.gz craftbukkit-aa008dff0f9bedbe88e1fe79831776b0a52eb90a.tar.lz craftbukkit-aa008dff0f9bedbe88e1fe79831776b0a52eb90a.tar.xz craftbukkit-aa008dff0f9bedbe88e1fe79831776b0a52eb90a.zip |
Update to Minecraft 1.9
Diffstat (limited to 'nms-patches/BlockTripwireHook.patch')
-rw-r--r-- | nms-patches/BlockTripwireHook.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nms-patches/BlockTripwireHook.patch b/nms-patches/BlockTripwireHook.patch index d67644aa..16cb8927 100644 --- a/nms-patches/BlockTripwireHook.patch +++ b/nms-patches/BlockTripwireHook.patch @@ -1,6 +1,6 @@ --- a/net/minecraft/server/BlockTripwireHook.java +++ b/net/minecraft/server/BlockTripwireHook.java -@@ -5,6 +5,8 @@ +@@ -4,6 +4,8 @@ import java.util.Iterator; import java.util.Random; @@ -8,9 +8,9 @@ + public class BlockTripwireHook extends Block { - public static final BlockStateDirection FACING = BlockStateDirection.of("facing", (Predicate) EnumDirection.EnumDirectionLimit.HORIZONTAL); -@@ -141,6 +143,17 @@ - this.a(world, blockposition1, flag5, flag6, flag2, flag3); + public static final BlockStateDirection FACING = BlockFacingHorizontal.FACING; +@@ -153,6 +155,17 @@ + this.a(world, blockposition1, flag4, flag5, flag2, flag3); } + // CraftBukkit start @@ -24,6 +24,6 @@ + } + // CraftBukkit end + - this.a(world, blockposition, flag5, flag6, flag2, flag3); + this.a(world, blockposition, flag4, flag5, flag2, flag3); if (!flag) { world.setTypeAndData(blockposition, iblockdata3.set(BlockTripwireHook.FACING, enumdirection), 3); |