diff options
Diffstat (limited to 'src/main/java/moe/nea/funnyteleporters/ColouredChestState.java')
-rw-r--r-- | src/main/java/moe/nea/funnyteleporters/ColouredChestState.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/moe/nea/funnyteleporters/ColouredChestState.java b/src/main/java/moe/nea/funnyteleporters/ColouredChestState.java index 9e18b16..74f0207 100644 --- a/src/main/java/moe/nea/funnyteleporters/ColouredChestState.java +++ b/src/main/java/moe/nea/funnyteleporters/ColouredChestState.java @@ -22,8 +22,6 @@ import java.util.Map; import java.util.Objects; import java.util.StringJoiner; -import static moe.nea.funnyteleporters.FunnyRegistry.MODID; - public class ColouredChestState extends PersistentState { public Map<List<DyeColor>, DefaultedList<ItemStack>> inventories = new HashMap<>(); @@ -72,7 +70,7 @@ public class ColouredChestState extends PersistentState { public static Type<ColouredChestState> TYPE = new Type<>(ColouredChestState::new, ColouredChestState::createFromNbt, null); - public static Identifier identifier = Identifier.of(MODID, "coloured_chests"); + public static Identifier identifier = FunnyTeleporters.id("coloured_chests"); public static ColouredChestState getServerState(MinecraftServer server) { var persistentStateWorld = Objects.requireNonNull(server.getWorld(World.OVERWORLD)).getPersistentStateManager(); // Force all data saving to be done in the overworld |