aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSHsuperCM <shsupercm@gmail.com>2022-07-11 10:59:58 +0300
committerGitHub <noreply@github.com>2022-07-11 10:59:58 +0300
commitbaf91441b9fb9939435e55a1e7dff126a26a698d (patch)
tree8c41ab12ef3e68571a76d63e6dbbec740bd0b7c3
parent8a4601028d6339b1321dfc3fe36cf7ae538e652c (diff)
parent09d52de64999f42539f6e7ff7ee04267a658425a (diff)
downloadCITResewn-baf91441b9fb9939435e55a1e7dff126a26a698d.tar.gz
CITResewn-baf91441b9fb9939435e55a1e7dff126a26a698d.tar.bz2
CITResewn-baf91441b9fb9939435e55a1e7dff126a26a698d.zip
Merge pull request #172 from alphaqu/main
Don't add to the currently loading models HashSet to fix DashLoader incompatibility
-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) {