3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-27 08:30:12 +01:00

Add armor stand entity offset (Fixes #627)

Dieser Commit ist enthalten in:
RednedEpic 2020-05-23 22:45:34 -05:00
Ursprung fe6257bb38
Commit 681cbeeae5

Datei anzeigen

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