aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorJason Mitchell <mitchej@gmail.com>2022-08-13 18:46:06 -0700
committerGitHub <noreply@github.com>2022-08-14 02:46:06 +0100
commit971e8dd33307eb28be26a86646a8f252e02f6acc (patch)
tree6937cbd7d0f86209088fbd9b9ca502a98258ae8e /src/main
parentb60c4c7073b79ba46e27905f87a7be617d5019ce (diff)
downloadGT5-Unofficial-971e8dd33307eb28be26a86646a8f252e02f6acc.tar.gz
GT5-Unofficial-971e8dd33307eb28be26a86646a8f252e02f6acc.tar.bz2
GT5-Unofficial-971e8dd33307eb28be26a86646a8f252e02f6acc.zip
Switch to GTNHLib for ItemStackMap instead of Hodgepodge (#1251)
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/gregtech/api/multitileentity/MultiTileEntityRegistry.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/gregtech/api/multitileentity/MultiTileEntityRegistry.java b/src/main/java/gregtech/api/multitileentity/MultiTileEntityRegistry.java
index 732a0459b0..d015a3a274 100644
--- a/src/main/java/gregtech/api/multitileentity/MultiTileEntityRegistry.java
+++ b/src/main/java/gregtech/api/multitileentity/MultiTileEntityRegistry.java
@@ -1,7 +1,7 @@
package gregtech.api.multitileentity;
import appeng.core.CreativeTab;
-import com.mitchej123.hodgepodge.core.util.ItemStackMap;
+import com.gtnewhorizon.gtnhlib.util.map.ItemStackMap;
import cpw.mods.fml.common.registry.GameRegistry;
import gregtech.api.GregTech_API;
import gregtech.api.enums.GT_Values;
@@ -29,7 +29,9 @@ import static gregtech.GT_Mod.GT_FML_LOGGER;
public class MultiTileEntityRegistry {
private static final HashMap<String, MultiTileEntityRegistry> NAMED_REGISTRIES = new HashMap<>();
- private static final ItemStackMap<MultiTileEntityRegistry> REGISTRIES = new ItemStackMap<>();
+
+ // TODO: NBT sensitive or not? Starting with not for now
+ private static final ItemStackMap<MultiTileEntityRegistry> REGISTRIES = new ItemStackMap<>(false);
private static final HashSet<Class<?>> sRegisteredTileEntities = new HashSet<>();
public HashMap<Short, CreativeTab> mCreativeTabs = new HashMap<>();