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