mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-24 02:56:02 +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);
|
|
}
|