SteamWar/FightSystem
Archiviert
13
1

Adding option for F3+N #146

Manuell gemergt
Lixfel hat 1 Commits von testServerF3N/OP nach master 2020-05-19 08:45:30 +02:00 zusammengeführt
Nur Änderungen aus Commit 13219dc352 werden angezeigt - Alle Commits anzeigen

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