forked from SteamWar/SteamWar
Format code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user