Add armor stand entity offset (Fixes #627)

This commit is contained in:
RednedEpic 2020-05-23 22:45:34 -05:00
parent fe6257bb38
commit 681cbeeae5

View file

@ -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) {