mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 19:46:42 +01:00
Fixed disguises
This commit is contained in:
parent
5aa9d27861
commit
a4c0d936f4
1 changed files with 2 additions and 0 deletions
|
@ -45,7 +45,9 @@ abstract class MixinEntityRenderDispatcher {
|
||||||
Entity e = effect.getDisguise();
|
Entity e = effect.getDisguise();
|
||||||
|
|
||||||
if (e != null) {
|
if (e != null) {
|
||||||
|
WorldRenderDelegate.INSTANCE.afterEntityRender(Pony.of((PlayerEntity)entity), matrices);
|
||||||
info.cancel();
|
info.cancel();
|
||||||
|
|
||||||
if (DisguiseSpell.isAttachedEntity(e) && (x != 0 || y != 0 || z != 0)) {
|
if (DisguiseSpell.isAttachedEntity(e) && (x != 0 || y != 0 || z != 0)) {
|
||||||
Vec3d cam = MinecraftClient.getInstance().gameRenderer.getCamera().getPos();
|
Vec3d cam = MinecraftClient.getInstance().gameRenderer.getCamera().getPos();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue