From 13219dc35258bdfe7fbae638edd33288099283f6 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 11 May 2020 13:25:45 +0200 Subject: [PATCH] Adding option for F3+N Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/listener/TestListener.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/listener/TestListener.java b/FightSystem_Main/src/de/steamwar/fightsystem/listener/TestListener.java index f8636de..04c8464 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/listener/TestListener.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/listener/TestListener.java @@ -9,7 +9,6 @@ import de.steamwar.fightsystem.states.FightState; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.player.PlayerJoinEvent; -import org.bukkit.permissions.PermissionAttachment; import java.util.EnumSet; @@ -37,7 +36,8 @@ public class TestListener extends BasicListener { countdown = null; } - PermissionAttachment attachment = player.addAttachment(FightSystem.getPlugin()); + player.setOp(true); + /*PermissionAttachment attachment = player.addAttachment(FightSystem.getPlugin()); attachment.setPermission("fawe.permpack.basic", true); attachment.setPermission("minecraft.command.gamemode", true); attachment.setPermission("minecraft.command.tp", true); @@ -169,6 +169,6 @@ public class TestListener extends BasicListener { 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);*/ } }