From 8500b7bcfacc0d6d59d9104021770a9888716d52 Mon Sep 17 00:00:00 2001 From: Magnus Ulf Date: Sun, 23 May 2021 14:18:27 +0200 Subject: [PATCH] Remove unneccessary check in EnginePermBuild --- src/com/massivecraft/factions/engine/EnginePermBuild.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/com/massivecraft/factions/engine/EnginePermBuild.java b/src/com/massivecraft/factions/engine/EnginePermBuild.java index de93789b..25f75988 100644 --- a/src/com/massivecraft/factions/engine/EnginePermBuild.java +++ b/src/com/massivecraft/factions/engine/EnginePermBuild.java @@ -26,7 +26,6 @@ import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.block.Action; import org.bukkit.event.block.BlockBreakEvent; -import org.bukkit.event.block.BlockDamageEvent; import org.bukkit.event.block.BlockFromToEvent; import org.bukkit.event.block.BlockPistonExtendEvent; import org.bukkit.event.block.BlockPistonRetractEvent; @@ -139,9 +138,6 @@ public class EnginePermBuild extends Engine @EventHandler(priority = EventPriority.NORMAL, ignoreCancelled = true) public void build(BlockBreakEvent event) { build(event.getPlayer(), event.getBlock(), event); } - @EventHandler(priority = EventPriority.NORMAL, ignoreCancelled = true) - public void build(BlockDamageEvent event) { build(event.getPlayer(), event.getBlock(), event); } - @EventHandler(priority = EventPriority.NORMAL, ignoreCancelled = true) public void build(SignChangeEvent event) { build(event.getPlayer(), event.getBlock(), event); }