Fixed kirin not seeing themselves as themselves when raging

This commit is contained in:
Sollace 2023-10-09 23:44:23 +01:00
parent 8961cc2cff
commit 79d66439a9
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -61,7 +61,7 @@ class EntityReplacementRenderManager implements Disguise {
}
private boolean isRageApplicable(Entity entity) {
return entity instanceof PassiveEntity || entity instanceof PlayerEntity || pools.containsKey(entity.getType());
return entity != MinecraftClient.getInstance().player && (entity instanceof PassiveEntity || entity instanceof PlayerEntity || pools.containsKey(entity.getType()));
}
@Override