This commit is contained in:
Trixkz 2021-11-23 08:17:07 -05:00
parent f58f2260a5
commit 937dc73782

View File

@ -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()) {