SteamWar/FightSystem
Archiviert
13
1

Adding option for F3+N

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-05-11 13:25:45 +02:00
Ursprung ac6b441815
Commit 13219dc352

Datei anzeigen

@ -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);*/
}
}