Fixed mob placement in boats

This commit is contained in:
Sollace 2023-10-05 20:05:07 +01:00
parent 8dad366317
commit 4904c78e01
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -91,7 +91,7 @@ public abstract class AbstractPonyRenderer<T extends MobEntity, M extends Entity
if (!entity.hasVehicle()) {
stack.translate(0, 0, -entity.getWidth() / 2); // move us to the center of the shadow
} else {
stack.translate(0, -entity.getRidingOffset(entity.getVehicle()), 0);
stack.translate(0, entity.getRidingOffset(entity.getVehicle()), 0);
}
stack.scale(scale, scale, scale);