From 445a4ef06d4616e35f76437304cffd5ba546aa8b Mon Sep 17 00:00:00 2001 From: Brianna O'Keefe Date: Mon, 11 Mar 2019 23:58:29 -0400 Subject: [PATCH] Fix --- .../com/songoda/epicfarming/hook/hooks/HookGriefPrevention.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EpicFarming-Plugin/src/main/java/com/songoda/epicfarming/hook/hooks/HookGriefPrevention.java b/EpicFarming-Plugin/src/main/java/com/songoda/epicfarming/hook/hooks/HookGriefPrevention.java index 818773a..31b0de2 100644 --- a/EpicFarming-Plugin/src/main/java/com/songoda/epicfarming/hook/hooks/HookGriefPrevention.java +++ b/EpicFarming-Plugin/src/main/java/com/songoda/epicfarming/hook/hooks/HookGriefPrevention.java @@ -30,7 +30,7 @@ public class HookGriefPrevention implements ProtectionPluginHook { @Override public boolean canBuild(Player player, Location location) { Claim claim = griefPrevention.dataStore.getClaimAt(location, false, null); - return claim != null && claim.allowBuild(player, Material.SPAWNER) == null; + return claim != null && claim.allowBuild(player, Material.STONE) == null; } @Override