Merge pull request 'Adding option for F3+N' (#146) from testServerF3N/OP into master
Reviewed-by: Jan9103 <maxjanssen67@gmail.com>
Dieser Commit ist enthalten in:
Commit
24c06eb47c
@ -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);*/
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren