diff --git a/src/main/java/dan200/computercraft/shared/Registry.java b/src/main/java/dan200/computercraft/shared/Registry.java index 2f0342689..92c04d2c8 100644 --- a/src/main/java/dan200/computercraft/shared/Registry.java +++ b/src/main/java/dan200/computercraft/shared/Registry.java @@ -77,6 +77,16 @@ public final class Registry public static void init() { + // Touch each static class to force static initializers to run + // Maybe there's a better way to do this :/ + Object[] o = { + ModBlockEntities.CABLE, + ModBlocks.CABLE, + ModItems.CABLE, + ModEntities.TURTLE_PLAYER, + ModContainers.COMPUTER, + }; + TurtleUpgrades.registerTurtleUpgrades(); PocketUpgrades.registerPocketUpgrades();