Fixed material failure.

This commit is contained in:
Brianna 2019-04-09 10:05:00 -04:00
parent 1a32b066e9
commit af9d36a3fc
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,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;
}
}