From 985a6c94cae0cb895a09ef06c85ec7759132a06c Mon Sep 17 00:00:00 2001 From: BlueWeabo Date: Sat, 17 Feb 2024 00:12:40 +0200 Subject: Change over wireless teams to use SP teams (#2493) * Change over wireless teams to use SP teams * spotless * null checks * fix unit test being wrong * update * add tab autocomplete * spotless * make sure teams are transfered over correctly * spotless * do not delete space teams data when two world saves put something into it * spotless * go away from a stream * make wireless networks load later --------- Co-authored-by: Martin Robertz --- src/main/java/gregtech/common/misc/GlobalVariableStorage.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/main/java/gregtech/common/misc/GlobalVariableStorage.java') diff --git a/src/main/java/gregtech/common/misc/GlobalVariableStorage.java b/src/main/java/gregtech/common/misc/GlobalVariableStorage.java index 5ec0ed9c82..27aad0a11f 100644 --- a/src/main/java/gregtech/common/misc/GlobalVariableStorage.java +++ b/src/main/java/gregtech/common/misc/GlobalVariableStorage.java @@ -2,19 +2,13 @@ package gregtech.common.misc; import java.math.BigInteger; import java.util.HashMap; +import java.util.UUID; public abstract class GlobalVariableStorage { // --------------------- NEVER access these maps! Use the methods provided! --------------------- // Global EU map. - public static HashMap GlobalEnergy = new HashMap<>(100, 0.9f); - - // Maps user IDs to usernames and vice versa. Seems redundant but this makes accessing this - // easier in certain locations (like gt commands). - public static HashMap GlobalEnergyName = new HashMap<>(100, 0.9f); - - // Maps UUIDs to other UUIDs. This allows users to join a team. - public static HashMap GlobalEnergyTeam = new HashMap<>(100, 0.9f); + public static HashMap GlobalEnergy = new HashMap<>(100, 0.9f); // ---------------------------------------------------------------------------------------------- -- cgit