From 7c99b756f9a6b9d1692218f7068fa7f021d04a7e Mon Sep 17 00:00:00 2001 From: tterrag Date: Sat, 4 Jan 2020 23:50:17 -0500 Subject: [PATCH] Fix incorrect check for missing texture in DynamicBucketModel --- .../minecraftforge/client/model/DynamicBucketModel.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/minecraftforge/client/model/DynamicBucketModel.java b/src/main/java/net/minecraftforge/client/model/DynamicBucketModel.java index 747ca330d2..c0c1048313 100644 --- a/src/main/java/net/minecraftforge/client/model/DynamicBucketModel.java +++ b/src/main/java/net/minecraftforge/client/model/DynamicBucketModel.java @@ -98,25 +98,25 @@ public final class DynamicBucketModel implements IModelGeometry spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) { Material particleLocation = owner.resolveTexture("particle"); - if (MissingTextureSprite.getLocation().toString().equals(particleLocation)) + if (MissingTextureSprite.getLocation().equals(particleLocation.func_229313_b_())) { particleLocation = null; } Material baseLocation = owner.resolveTexture("base"); - if (MissingTextureSprite.getLocation().toString().equals(baseLocation)) + if (MissingTextureSprite.getLocation().equals(baseLocation.func_229313_b_())) { baseLocation = null; } Material fluidMaskLocation = owner.resolveTexture("fluid"); - if (MissingTextureSprite.getLocation().toString().equals(fluidMaskLocation)) + if (MissingTextureSprite.getLocation().equals(fluidMaskLocation.func_229313_b_())) { fluidMaskLocation = null; } Material coverLocation = owner.resolveTexture("cover"); - if (!MissingTextureSprite.getLocation().toString().equals(coverLocation)) + if (!MissingTextureSprite.getLocation().equals(coverLocation.func_229313_b_())) { // cover (the actual item around the other two) coverLocation = null;