mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-12-19 06:47:33 +01:00
17 lines
327 B
Java
17 lines
327 B
Java
package com.Acrobot.ChestShop.Protection;
|
|
|
|
|
|
import org.bukkit.block.Block;
|
|
import org.bukkit.entity.Player;
|
|
|
|
/**
|
|
* @author Acrobot
|
|
*/
|
|
public interface Protection {
|
|
public boolean isProtected(Block block);
|
|
|
|
public boolean canAccess(Player player, Block block);
|
|
|
|
public boolean protect(String name, Block block);
|
|
}
|