diff options
author | SHsuperCM <shsupercm@gmail.com> | 2021-09-18 18:15:49 +0300 |
---|---|---|
committer | SHsuperCM <shsupercm@gmail.com> | 2021-09-18 18:15:49 +0300 |
commit | 638e1916420329d34646b03c4e24d697d7536ce9 (patch) | |
tree | 7ebb464c863c4dcbe12ab2476850aee8570d8636 /src/main/java/shcm/shsupercm/fabric/citresewn/pack | |
parent | 78eeb659b0580880fd0de77d12809af35f63f6fb (diff) | |
download | CITResewn-638e1916420329d34646b03c4e24d697d7536ce9.tar.gz CITResewn-638e1916420329d34646b03c4e24d697d7536ce9.tar.bz2 CITResewn-638e1916420329d34646b03c4e24d697d7536ce9.zip |
Consistency
Diffstat (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn/pack')
-rw-r--r-- | src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CITItem.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CITItem.java b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CITItem.java index c99ba12..cfddf09 100644 --- a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CITItem.java +++ b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CITItem.java @@ -315,11 +315,7 @@ public class CITItem extends CIT { } public BakedModel getItemModel(ItemStack stack, Hand hand, ClientWorld world, LivingEntity entity, int seed) { - if (test(stack, hand, world, entity)) { - return bakedSubModels.apply(this.bakedModel, stack, world, entity, seed); - } - - return null; + return bakedSubModels.apply(this.bakedModel, stack, world, entity, seed); } public static class CITOverrideList extends ModelOverrideList { |