From 2e55342edf845dd5548b964d3888e290dafe8067 Mon Sep 17 00:00:00 2001 From: "yrsegal@gmail.com" Date: Sun, 1 Oct 2023 18:48:47 -0400 Subject: [PATCH] apparently doge didn't work --- .../content/mobs/client/render/entity/ShibaRenderer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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());