mirror of
https://github.com/songoda/EpicBuckets.git
synced 2025-02-21 14:11:47 +01:00
Fixed material failure.
This commit is contained in:
parent
1a32b066e9
commit
af9d36a3fc
@ -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;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user