From d6973a301b20ca89e4b324afdc904a4880e87ddf Mon Sep 17 00:00:00 2001 From: Myles Date: Fri, 28 Jun 2019 22:01:46 +0100 Subject: [PATCH] Fix #1382 --- .../bukkit/listeners/protocol1_9to1_8/PaperPatch.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bukkit/src/main/java/us/myles/ViaVersion/bukkit/listeners/protocol1_9to1_8/PaperPatch.java b/bukkit/src/main/java/us/myles/ViaVersion/bukkit/listeners/protocol1_9to1_8/PaperPatch.java index 51a1f9c22..e4a3eb9bc 100644 --- a/bukkit/src/main/java/us/myles/ViaVersion/bukkit/listeners/protocol1_9to1_8/PaperPatch.java +++ b/bukkit/src/main/java/us/myles/ViaVersion/bukkit/listeners/protocol1_9to1_8/PaperPatch.java @@ -4,6 +4,7 @@ import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.BlockFace; import org.bukkit.event.EventHandler; +import org.bukkit.event.EventPriority; import org.bukkit.event.block.BlockPlaceEvent; import us.myles.ViaVersion.ViaVersionPlugin; import us.myles.ViaVersion.bukkit.listeners.ViaBukkitListener; @@ -22,7 +23,7 @@ public class PaperPatch extends ViaBukkitListener { If there is a better fix then we'll replace this. */ - @EventHandler(ignoreCancelled = true) + @EventHandler(ignoreCancelled = true, priority = EventPriority.HIGHEST) public void onPlace(BlockPlaceEvent e) { if (isOnPipe(e.getPlayer())) { Location location = e.getPlayer().getLocation();