mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 08:14:23 +01:00
Fixed shadow placement on foals
This commit is contained in:
parent
b1f7cda8cc
commit
5ccb81bc11
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public class RenderPonyPlayer extends PlayerEntityRenderer implements IPonyRende
|
|||
@Override
|
||||
public float scaleAndTranslate(AbstractClientPlayerEntity player, float ticks) {
|
||||
if (!player.hasVehicle() && !player.isSleeping()) {
|
||||
float x = player.getWidth() / 2;
|
||||
float x = player.getWidth() / 2 * renderPony.getPony(player).getMetadata().getSize().getScaleFactor();
|
||||
float y = 0;
|
||||
|
||||
if (player.isInSneakingPose()) {
|
||||
|
|
Loading…
Reference in a new issue