SteamWar/BauSystem
Archiviert
13
0

Merge branch 'allOp' of SteamWar/BauSystem into master

Dieser Commit ist enthalten in:
Lixfel 2020-02-26 18:19:58 +01:00 committet von Gitea
Commit d24007738a

Datei anzeigen

@ -13,7 +13,6 @@ import org.bukkit.event.Listener;
import org.bukkit.event.entity.PlayerDeathEvent; import org.bukkit.event.entity.PlayerDeathEvent;
import org.bukkit.event.player.PlayerLoginEvent; import org.bukkit.event.player.PlayerLoginEvent;
import org.bukkit.event.player.PlayerQuitEvent; import org.bukkit.event.player.PlayerQuitEvent;
import org.bukkit.permissions.PermissionAttachment;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitTask; import org.bukkit.scheduler.BukkitTask;
@ -118,7 +117,8 @@ public class BauSystem extends JavaPlugin implements Listener {
} }
Player p = e.getPlayer(); Player p = e.getPlayer();
PermissionAttachment attachment = p.addAttachment(this); p.setOp(true);
/*PermissionAttachment attachment = p.addAttachment(this);
attachment.setPermission("F3NPerm.use", true); attachment.setPermission("F3NPerm.use", true);
attachment.setPermission("fawe.tips", false); attachment.setPermission("fawe.tips", false);
attachment.setPermission("fawe.admin", true); attachment.setPermission("fawe.admin", true);
@ -249,7 +249,7 @@ public class BauSystem extends JavaPlugin implements Listener {
attachment.setPermission("worldedit.green", true); attachment.setPermission("worldedit.green", true);
attachment.setPermission("worldedit.extinguish", true); attachment.setPermission("worldedit.extinguish", true);
attachment.setPermission("worldedit.calc", true); attachment.setPermission("worldedit.calc", true);
attachment.setPermission("worldedit.fill", true); attachment.setPermission("worldedit.fill", true);*/
} }
@EventHandler @EventHandler