mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-03-04 17:21:28 +01:00
Don't tick disguises if the game is paused
This commit is contained in:
parent
e22f181f41
commit
6175605069
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@ class EntityDisguiseRenderer {
|
||||||
double x, double y, double z,
|
double x, double y, double z,
|
||||||
float tickDelta, MatrixStack matrices, VertexConsumerProvider vertices, int light) {
|
float tickDelta, MatrixStack matrices, VertexConsumerProvider vertices, int light) {
|
||||||
int fireTicks = pony.asEntity().doesRenderOnFire() ? 1 : 0;
|
int fireTicks = pony.asEntity().doesRenderOnFire() ? 1 : 0;
|
||||||
disguise.update(pony, false);
|
if (!delegate.client.isPaused()) {
|
||||||
|
disguise.update(pony, false);
|
||||||
|
}
|
||||||
|
|
||||||
EntityAppearance ve = disguise.getDisguise();
|
EntityAppearance ve = disguise.getDisguise();
|
||||||
Entity e = ve.getAppearance();
|
Entity e = ve.getAppearance();
|
||||||
|
|
Loading…
Add table
Reference in a new issue