aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/misc/GlobalVariableStorage.java
diff options
context:
space:
mode:
authorBlueWeabo <ilia.iliev2005@gmail.com>2024-02-17 00:12:40 +0200
committerGitHub <noreply@github.com>2024-02-16 23:12:40 +0100
commit985a6c94cae0cb895a09ef06c85ec7759132a06c (patch)
tree34beeec33a7dbe00c6791e214eec3ebb0f5ee003 /src/main/java/gregtech/common/misc/GlobalVariableStorage.java
parentd827dad0a671b79b1c42915b23d365398fd63733 (diff)
downloadGT5-Unofficial-985a6c94cae0cb895a09ef06c85ec7759132a06c.tar.gz
GT5-Unofficial-985a6c94cae0cb895a09ef06c85ec7759132a06c.tar.bz2
GT5-Unofficial-985a6c94cae0cb895a09ef06c85ec7759132a06c.zip
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 <dream-master@gmx.net>
Diffstat (limited to 'src/main/java/gregtech/common/misc/GlobalVariableStorage.java')
-rw-r--r--src/main/java/gregtech/common/misc/GlobalVariableStorage.java10
1 files changed, 2 insertions, 8 deletions
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<String, BigInteger> 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<String, String> GlobalEnergyName = new HashMap<>(100, 0.9f);
-
- // Maps UUIDs to other UUIDs. This allows users to join a team.
- public static HashMap<String, String> GlobalEnergyTeam = new HashMap<>(100, 0.9f);
+ public static HashMap<UUID, BigInteger> GlobalEnergy = new HashMap<>(100, 0.9f);
// ----------------------------------------------------------------------------------------------