From c5f72dc7280628b2e3d30abc0f5c87e614f690d2 Mon Sep 17 00:00:00 2001 From: Myles Date: Sat, 26 Mar 2016 22:22:19 +0000 Subject: [PATCH] Wrong way oops --- .../protocols/protocol1_9to1_8/listeners/PaperPatch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/listeners/PaperPatch.java b/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/listeners/PaperPatch.java index 49c230ca3..f9edecd06 100644 --- a/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/listeners/PaperPatch.java +++ b/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/listeners/PaperPatch.java @@ -29,7 +29,7 @@ public class PaperPatch implements Listener { if (e.getPlayer().getLocation().getBlock().equals(e.getBlock())) { e.setCancelled(true); } else { - if (e.getPlayer().getLocation().getBlock().getRelative(BlockFace.DOWN).equals(e.getBlock())) { + if (e.getPlayer().getLocation().getBlock().getRelative(BlockFace.UP).equals(e.getBlock())) { e.setCancelled(true); } }