mirror of
https://github.com/GeyserExtensionists/GeyserModelEngine.git
synced 2025-12-19 15:09:18 +00:00
fix spawn rot?
This commit is contained in:
@@ -57,7 +57,6 @@ public class ModelEntity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
map.put(model, modelEntity);
|
map.put(model, modelEntity);
|
||||||
|
|
||||||
return modelEntity;
|
return modelEntity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,8 +34,10 @@ public class EntitySpawnPacket implements WrapperPacket {
|
|||||||
.write(1, this.location.getY())
|
.write(1, this.location.getY())
|
||||||
.write(2, this.location.getZ());
|
.write(2, this.location.getZ());
|
||||||
packet.getBytes()
|
packet.getBytes()
|
||||||
.write(0, (byte) (this.location.getYaw() * 256.0F / 360.0F))
|
.write(0, (byte) (this.location.getPitch() * 256.0F / 360.0F))
|
||||||
.write(1, (byte) (this.location.getPitch() * 256.0F / 360.0F));
|
.write(1, (byte) (this.location.getYaw() * 256.0F / 360.0F))
|
||||||
|
.writeSafely(2, (byte) (this.location.getYaw() * 256.0F / 360.0F));
|
||||||
|
|
||||||
packet.getEntityTypeModifier()
|
packet.getEntityTypeModifier()
|
||||||
.writeSafely(0, type);
|
.writeSafely(0, type);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user