mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-23 11:42:31 +01:00
feat: new chunk load toggle
also fixes item frames / paintings in dlc worlds
This commit is contained in:
10 files changed
+50
-6
No files matched your search
@@ -846,6 +846,10 @@ shared_ptr<Packet> TrackedEntity::getAddEntityPacket()
|
||||
{
|
||||
data |= 0x100;
|
||||
}
|
||||
if (frame->placedByTutorial)
|
||||
{
|
||||
data |= 0x200;
|
||||
}
|
||||
shared_ptr<AddEntityPacket> packet = std::make_shared<AddEntityPacket>(e, AddEntityPacket::ITEM_FRAME, data, yRotp, xRotp, xp, yp, zp);
|
||||
packet->x = Mth::floor(frame->xTile * 32.0f);
|
||||
packet->y = Mth::floor(frame->yTile * 32.0f);
|
||||
|
||||
Reference in new issue
Block a user