mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-02-12 01:41:27 +01:00
Update EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/hooks/HookGriefPrevention.java
This commit is contained in:
parent
6057155a7e
commit
975fdefe02
@ -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.HOPPER) == null;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user