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