This commit is contained in:
Brianna O'Keefe 2019-03-11 23:58:29 -04:00
parent a340306e9c
commit 445a4ef06d

View File

@ -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