forked from GeyserMC/Geyser
Add armor stand entity offset (Fixes #627)
This commit is contained in:
parent
fe6257bb38
commit
681cbeeae5
1 changed files with 3 additions and 0 deletions
|
@ -137,6 +137,9 @@ public class JavaEntitySetPassengersTranslator extends PacketTranslator<ServerEn
|
||||||
case PIG:
|
case PIG:
|
||||||
yOffset = 1.85001f;
|
yOffset = 1.85001f;
|
||||||
break;
|
break;
|
||||||
|
case ARMOR_STAND:
|
||||||
|
yOffset = 1.3f;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
Vector3f offset = Vector3f.from(0f, yOffset, 0f);
|
Vector3f offset = Vector3f.from(0f, yOffset, 0f);
|
||||||
if (rider) {
|
if (rider) {
|
||||||
|
|
Loading…
Reference in a new issue