t
This commit is contained in:
parent
f58f2260a5
commit
937dc73782
@ -42,10 +42,15 @@ public class GameStartListener implements Listener {
|
||||
|
||||
CopiedArena currentArena = game.getCopiedArena();
|
||||
for (CustomLocation location : currentArena.getTeamGenerators()) {
|
||||
Generator teamGen = new Generator(location.toBukkitLocation(), GeneratorType.IRON, true, game);
|
||||
teamGen.setActivated(true);
|
||||
Generator teamGen1 = new Generator(location.toBukkitLocation(), GeneratorType.IRON, true, game);
|
||||
teamGen1.setActivated(true);
|
||||
|
||||
game.getActivatedGenerators().add(teamGen);
|
||||
game.getActivatedGenerators().add(teamGen1);
|
||||
|
||||
Generator teamGen2 = new Generator(location.toBukkitLocation(), GeneratorType.GOLD, true, game);
|
||||
teamGen2.setActivated(true);
|
||||
|
||||
game.getActivatedGenerators().add(teamGen2);
|
||||
}
|
||||
|
||||
for (CustomLocation location : currentArena.getDiamondGenerators()) {
|
||||
|
Loading…
Reference in New Issue
Block a user