Skip to content

Commit

Permalink
apparently doge didn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
yrsegal committed Oct 1, 2023
1 parent 3a609bc commit 2e55342
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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<Shiba, ShibaModel> {

private static final ResourceLocation[] SHIBA_BASES = {
Expand All @@ -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());
Expand Down

0 comments on commit 2e55342

Please sign in to comment.