mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 15:37:59 +01:00
Backport: Fixed shadow placement on foals
This commit is contained in:
parent
056caced12
commit
39727d3f9e
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ public class RenderPonyPlayer extends RenderPlayer implements IRenderPony<Abstra
|
||||||
public float prepareScale(AbstractClientPlayer player, float ticks) {
|
public float prepareScale(AbstractClientPlayer player, float ticks) {
|
||||||
|
|
||||||
if (!player.isRiding() && !player.isPlayerSleeping()) {
|
if (!player.isRiding() && !player.isPlayerSleeping()) {
|
||||||
float x = player.width/2;
|
float x = player.width / 2 * renderPony.getPony(player).getMetadata().getSize().getScaleFactor();
|
||||||
float y = 0;
|
float y = 0;
|
||||||
|
|
||||||
if (player.isSneaking()) {
|
if (player.isSneaking()) {
|
||||||
|
|
Loading…
Reference in a new issue