diff options
author | SHsuperCM <shsupercm@gmail.com> | 2022-02-18 09:29:26 +0200 |
---|---|---|
committer | SHsuperCM <shsupercm@gmail.com> | 2022-02-18 09:29:26 +0200 |
commit | 6c3eb559865c291bc363f4c9697a257c4c2cc604 (patch) | |
tree | c7246ac270984d7b65d8a6ac503f493f2cdccdd7 /defaults/src/main | |
parent | 429b299266e9633e325e4d57e2a582fde1666e7a (diff) | |
download | CITResewn-6c3eb559865c291bc363f4c9697a257c4c2cc604.tar.gz CITResewn-6c3eb559865c291bc363f4c9697a257c4c2cc604.tar.bz2 CITResewn-6c3eb559865c291bc363f4c9697a257c4c2cc604.zip |
Fixed ambiguous model error log message
Diffstat (limited to 'defaults/src/main')
-rw-r--r-- | defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/mixin/types/item/ModelLoaderMixin.java | 4 |
1 files changed, 2 insertions, 2 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 0c5f4f1..485268b 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 @@ -9,7 +9,6 @@ import net.minecraft.client.render.model.UnbakedModel; import net.minecraft.client.render.model.json.JsonUnbakedModel; import net.minecraft.client.render.model.json.ModelOverride; import net.minecraft.client.texture.TextureManager; -import net.minecraft.client.util.ModelIdentifier; import net.minecraft.client.util.SpriteIdentifier; import net.minecraft.resource.Resource; import net.minecraft.resource.ResourceManager; @@ -68,7 +67,8 @@ public class ModelLoaderMixin { this.modelsToBake.put(id, unbakedModel); } } catch (Exception e) { - CITResewn.logErrorLoading(e.getMessage()); + CITResewn.logErrorLoading("Errored loading model in " + cit.propertiesIdentifier + " from " + cit.packName); + e.printStackTrace(); } }); |