mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-12-17 23:48:00 +01:00
Fixed disguises not being inverted by negative gravity
This commit is contained in:
parent
2bb6df8b1b
commit
a525a9127c
2 changed files with 1 additions and 2 deletions
|
@ -33,7 +33,6 @@ public class WorldRenderDelegate {
|
|||
matrices.pop();
|
||||
|
||||
flipAngles(pony.getOwner());
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,6 @@ abstract class MixinEntityRenderDispatcher {
|
|||
Entity e = effect.getDisguise();
|
||||
|
||||
if (e != null) {
|
||||
WorldRenderDelegate.INSTANCE.afterEntityRender(Pony.of((PlayerEntity)entity), matrices);
|
||||
info.cancel();
|
||||
|
||||
if (DisguiseSpell.isAttachedEntity(e) && (x != 0 || y != 0 || z != 0)) {
|
||||
|
@ -58,6 +57,7 @@ abstract class MixinEntityRenderDispatcher {
|
|||
}
|
||||
|
||||
((EntityRenderDispatcher)(Object)this).render(e, x, y, z, e.yaw, tickDelta, matrices, vertexConsumers, light);
|
||||
WorldRenderDelegate.INSTANCE.afterEntityRender(Pony.of((PlayerEntity)entity), matrices);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue