aboutsummaryrefslogtreecommitdiff
path: root/defaults/src/main
diff options
context:
space:
mode:
authoralphaqu <yan.gyunashyan@gmail.com>2022-07-09 16:34:34 +0200
committeralphaqu <yan.gyunashyan@gmail.com>2022-07-09 16:34:34 +0200
commit09d52de64999f42539f6e7ff7ee04267a658425a (patch)
tree8c41ab12ef3e68571a76d63e6dbbec740bd0b7c3 /defaults/src/main
parent8a4601028d6339b1321dfc3fe36cf7ae538e652c (diff)
downloadCITResewn-09d52de64999f42539f6e7ff7ee04267a658425a.tar.gz
CITResewn-09d52de64999f42539f6e7ff7ee04267a658425a.tar.bz2
CITResewn-09d52de64999f42539f6e7ff7ee04267a658425a.zip
Don't add to the currently loading models HashSet to fix DashLoader incompatibility
Diffstat (limited to 'defaults/src/main')
-rw-r--r--defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/mixin/types/item/ModelLoaderMixin.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/mixin/types/item/ModelLoaderMixin.java b/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/mixin/types/item/ModelLoaderMixin.java
index 4a9da85..68d6bfc 100644
--- a/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/mixin/types/item/ModelLoaderMixin.java
+++ b/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/mixin/types/item/ModelLoaderMixin.java
@@ -51,7 +51,6 @@ public class ModelLoaderMixin {
for (JsonUnbakedModel unbakedModel : cit.type.unbakedAssets.values()) {
ResewnItemModelIdentifier id = new ResewnItemModelIdentifier(unbakedModel.id);
this.unbakedModels.put(id, unbakedModel);
- this.modelsToLoad.addAll(unbakedModel.getModelDependencies());
this.modelsToBake.put(id, unbakedModel);
}
} catch (Exception e) {