Format code

This commit is contained in:
2026-05-17 10:08:06 +02:00
parent d110df924e
commit 5125453406
152 changed files with 752 additions and 814 deletions
@@ -179,8 +179,9 @@ public class MWTeam {
p.getInventory().setItem(0, bow);
sbteam.addPlayer(p);
p.setDisplayName(color + p.getName());
if (MissileWars.getFightState() == FightState.WAITING && !enemy().players.isEmpty())
if (MissileWars.getFightState() == FightState.WAITING && !enemy().players.isEmpty()) {
MissileWars.startRound();
}
}
public void leave(Player p) {
@@ -56,8 +56,7 @@ public class SpawnPlatformCreator {
if (currentBlock == null || !currentBlock.getLocation().equals(playerLoc)) {
if (currentBlock != null) {
if (currentBlock.getType() == Material.OBSIDIAN)
currentBlock.setType(Material.AIR);
if (currentBlock.getType() == Material.OBSIDIAN) currentBlock.setType(Material.AIR);
currentBlock = null;
}