From de7e3ba73ddde654f6ca213be930cfdcb3f9ad2c Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 24 Apr 2023 16:49:41 -0400 Subject: [PATCH] Hashmap to add to was added. --- src/engine/gameManager/BuildingManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 9f60acbf..a13a0cf2 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -34,8 +34,8 @@ public enum BuildingManager { BUILDINGMANAGER; - public static HashMap> _stuckLocations; - public static HashMap> _slotLocations; + public static HashMap> _stuckLocations = new HashMap<>(); + public static HashMap> _slotLocations = new HashMap<>(); public static int getAvailableSlot(Building building) {