This commit is contained in:
Flemmli97 2022-04-06 21:55:26 +02:00
parent 24e306ec8f
commit 5d1c589f91

View File

@ -17,7 +17,7 @@ import java.util.UUID;
public class ClaimHandler { public class ClaimHandler {
/** /**
* Check if a player do an interaction at the given position * Check if a player can do an interaction at the given position
*/ */
public static boolean canInteract(ServerPlayer player, BlockPos pos, ClaimPermission permission) { public static boolean canInteract(ServerPlayer player, BlockPos pos, ClaimPermission permission) {
return ClaimStorage.get(player.getLevel()).getClaimAt(pos).canInteract(player, permission, pos); return ClaimStorage.get(player.getLevel()).getClaimAt(pos).canInteract(player, permission, pos);