diff --git a/src/main/kotlin/net/easecation/bedrockloader/loader/BedrockResourcePackLoader.kt b/src/main/kotlin/net/easecation/bedrockloader/loader/BedrockResourcePackLoader.kt index 1838ecc..30fa45c 100644 --- a/src/main/kotlin/net/easecation/bedrockloader/loader/BedrockResourcePackLoader.kt +++ b/src/main/kotlin/net/easecation/bedrockloader/loader/BedrockResourcePackLoader.kt @@ -39,8 +39,10 @@ class BedrockResourcePackLoader( val env = FabricLoader.getInstance().environmentType this.init() // Geometry - context.resource.geometries.forEach { (key, value) -> - BedrockAddonsRegistry.models[key] = BedrockGeometryModel(value) + if (env == EnvType.CLIENT) { + context.resource.geometries.forEach { (key, value) -> + BedrockAddonsRegistry.models[key] = BedrockGeometryModel(value) + } } // Blocks for (block in context.resource.blocks) {