diff --git a/src/main/java/vazkii/quark/content/mobs/client/render/entity/ShibaRenderer.java b/src/main/java/vazkii/quark/content/mobs/client/render/entity/ShibaRenderer.java index c93b581f45..0b6fa34aa5 100644 --- a/src/main/java/vazkii/quark/content/mobs/client/render/entity/ShibaRenderer.java +++ b/src/main/java/vazkii/quark/content/mobs/client/render/entity/ShibaRenderer.java @@ -1,7 +1,5 @@ package vazkii.quark.content.mobs.client.render.entity; -import javax.annotation.Nonnull; - import net.minecraft.client.renderer.entity.EntityRendererProvider; import net.minecraft.client.renderer.entity.MobRenderer; import net.minecraft.resources.ResourceLocation; @@ -12,6 +10,8 @@ import vazkii.quark.content.mobs.client.model.ShibaModel; import vazkii.quark.content.mobs.entity.Shiba; +import javax.annotation.Nonnull; + public class ShibaRenderer extends MobRenderer { private static final ResourceLocation[] SHIBA_BASES = { @@ -32,7 +32,7 @@ public ShibaRenderer(EntityRendererProvider.Context context) { @Nonnull @Override public ResourceLocation getTextureLocation(Shiba entity) { - if(entity.hasCustomName() && entity.getCustomName().getContents().toString().trim().equalsIgnoreCase("doge")) + if(entity.hasCustomName() && entity.getCustomName().getString().trim().equalsIgnoreCase("doge")) return SHIBA_DOGE; long least = Math.abs(entity.getUUID().getLeastSignificantBits());