From dc471384905df1a4cd2ed1a93089092bf8385978 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 25 Feb 2020 18:04:38 +0100 Subject: [PATCH] All OP --- BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java index 61a7458..1f08e29 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java @@ -13,7 +13,6 @@ import org.bukkit.event.Listener; import org.bukkit.event.entity.PlayerDeathEvent; import org.bukkit.event.player.PlayerLoginEvent; import org.bukkit.event.player.PlayerQuitEvent; -import org.bukkit.permissions.PermissionAttachment; import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.scheduler.BukkitTask; @@ -118,7 +117,8 @@ public class BauSystem extends JavaPlugin implements Listener { } Player p = e.getPlayer(); - PermissionAttachment attachment = p.addAttachment(this); + p.setOp(true); + /*PermissionAttachment attachment = p.addAttachment(this); attachment.setPermission("F3NPerm.use", true); attachment.setPermission("fawe.tips", false); attachment.setPermission("fawe.admin", true); @@ -249,7 +249,7 @@ public class BauSystem extends JavaPlugin implements Listener { attachment.setPermission("worldedit.green", true); attachment.setPermission("worldedit.extinguish", true); attachment.setPermission("worldedit.calc", true); - attachment.setPermission("worldedit.fill", true); + attachment.setPermission("worldedit.fill", true);*/ } @EventHandler