mirror of
https://github.com/songoda/EpicFarming.git
synced 2025-02-22 15:31:34 +01:00
Fix
This commit is contained in:
parent
a340306e9c
commit
445a4ef06d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user