Package redempt.redlib.protection
Interface BypassPolicy
public interface BypassPolicy
Represents a policy that allows players to bypass certain protection types for certain blocks
- 
Method Summary
Modifier and TypeMethodDescriptionbooleancanBypass(org.bukkit.entity.Player player, ProtectionPolicy.ProtectionType type, org.bukkit.block.Block block) Checks whether a player can bypass the given protection type for the given block 
- 
Method Details
- 
canBypass
boolean canBypass(org.bukkit.entity.Player player, ProtectionPolicy.ProtectionType type, org.bukkit.block.Block block) Checks whether a player can bypass the given protection type for the given block- Parameters:
 player- The player attempting an actiontype- The type of action being attemptedblock- The block the action is being performed on- Returns:
 - Whether this player can bypass the protection type for the given block
 
 
 -