mirror of
https://e.coding.net/circlecloud/ProtectItem.git
synced 2025-11-24 23:56:08 +00:00
@@ -35,11 +35,11 @@ public class Main extends JavaPlugin {
|
||||
if (getConfig().getBoolean("Protect.Place", true))
|
||||
Bukkit.getPluginManager().registerEvents(
|
||||
new PlaceBlockListen(this), this);
|
||||
getLogger().info("BanDropDirt已加载!");
|
||||
getLogger().info("ProtectItem已加载!");
|
||||
}
|
||||
|
||||
public boolean checkevent(Player p, String i, String type) {
|
||||
if (p.hasPermission("bdd.bypass"))
|
||||
if (p.hasPermission("pi.bypass"))
|
||||
return false;
|
||||
Location l = p.getLocation();
|
||||
World pw = l.getWorld();
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
name: BanDropDirt
|
||||
main: com.github.j502647092.BanDropDirt.Main
|
||||
version: 1.0
|
||||
name: ProtectItem
|
||||
main: cn.CityCraft.ProtectItem.Main
|
||||
version: 1.0
|
||||
permissions:
|
||||
pi.bypass:
|
||||
default: op
|
||||
Reference in New Issue
Block a user