mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fixed spells not rendering on disguised players
This commit is contained in:
parent
4593648974
commit
e1d4b229ff
1 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,7 @@ package com.minelittlepony.unicopia.client.render;
|
|||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import com.minelittlepony.unicopia.client.render.spell.SpellEffectsRenderDispatcher;
|
||||
import com.minelittlepony.unicopia.compat.pehkui.PehkUtil;
|
||||
import com.minelittlepony.unicopia.entity.Living;
|
||||
import com.minelittlepony.unicopia.entity.behaviour.Disguise;
|
||||
|
@ -58,6 +59,11 @@ class EntityDisguiseRenderer {
|
|||
PehkUtil.clearScale(ee);
|
||||
});
|
||||
|
||||
matrices.push();
|
||||
matrices.translate(x, y, z);
|
||||
SpellEffectsRenderDispatcher.INSTANCE.render(matrices, vertexConsumers, light, pony, 0, 0, tickDelta, pony.asEntity().age + tickDelta, 0, 0);
|
||||
matrices.pop();
|
||||
|
||||
delegate.afterEntityRender(pony, matrices, light);
|
||||
PehkUtil.clearScale(e);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue