mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 12:37:59 +01:00
Fixed mob placement in boats
This commit is contained in:
parent
8dad366317
commit
4904c78e01
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ public abstract class AbstractPonyRenderer<T extends MobEntity, M extends Entity
|
||||||
if (!entity.hasVehicle()) {
|
if (!entity.hasVehicle()) {
|
||||||
stack.translate(0, 0, -entity.getWidth() / 2); // move us to the center of the shadow
|
stack.translate(0, 0, -entity.getWidth() / 2); // move us to the center of the shadow
|
||||||
} else {
|
} else {
|
||||||
stack.translate(0, -entity.getRidingOffset(entity.getVehicle()), 0);
|
stack.translate(0, entity.getRidingOffset(entity.getVehicle()), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
stack.scale(scale, scale, scale);
|
stack.scale(scale, scale, scale);
|
||||||
|
|
Loading…
Reference in a new issue