diff --git a/src/main/java/rip/tilly/bedwars/listeners/game/GameStartListener.java b/src/main/java/rip/tilly/bedwars/listeners/game/GameStartListener.java index 39ca7a3..1aa37b0 100644 --- a/src/main/java/rip/tilly/bedwars/listeners/game/GameStartListener.java +++ b/src/main/java/rip/tilly/bedwars/listeners/game/GameStartListener.java @@ -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()) {