diff options
author | GlodBlock <60341015+GlodBlock@users.noreply.github.com> | 2021-10-19 08:23:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-19 08:23:39 +0800 |
commit | fd05b6e63f025cb94b5b88ad3ca0a184fb76f81c (patch) | |
tree | d1a4cd6e0860182e5945c687cfec21a8eb082cb4 /src/main/java/GoodGenerator/Items | |
parent | 9519826922324eff60074567e99f24feff0e7780 (diff) | |
download | GT5-Unofficial-fd05b6e63f025cb94b5b88ad3ca0a184fb76f81c.tar.gz GT5-Unofficial-fd05b6e63f025cb94b5b88ad3ca0a184fb76f81c.tar.bz2 GT5-Unofficial-fd05b6e63f025cb94b5b88ad3ca0a184fb76f81c.zip |
fix crash on server side
Diffstat (limited to 'src/main/java/GoodGenerator/Items')
-rw-r--r-- | src/main/java/GoodGenerator/Items/MyItems.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/GoodGenerator/Items/MyItems.java b/src/main/java/GoodGenerator/Items/MyItems.java index a795ea00a1..4f13ee14e1 100644 --- a/src/main/java/GoodGenerator/Items/MyItems.java +++ b/src/main/java/GoodGenerator/Items/MyItems.java @@ -82,7 +82,7 @@ public class MyItems extends Item { @Override public String getUnlocalizedName(ItemStack p_77667_1_) { - if (this.texture == null || this.texture.length < 1){ + if (this.textureNames == null || this.textureNames.length < 1){ return "item." + this.Name; } else { |