mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-21 17:23:56 +01:00
TU46 Test content and patches
TU46 Test content, added missing commits by amending commit and cherry-picking to new branch, ready for iggy guis and tu46 bug fixes
This commit is contained in:
1 parent
8d6b69f599
commit
ff562d1644
497 files changed
+11187
-771
No files matched your search
@@ -13,6 +13,7 @@
|
||||
#include "../Minecraft.World/net.minecraft.world.effect.h"
|
||||
#include "../Minecraft.World/LevelData.h"
|
||||
#include "../Minecraft.World/net.minecraft.world.entity.item.h"
|
||||
#include "../Minecraft.World/MoveVehiclePacket.h"
|
||||
#include "Input.h"
|
||||
#include "LevelRenderer.h"
|
||||
|
||||
@@ -79,6 +80,8 @@ void MultiplayerLocalPlayer::tick()
|
||||
{
|
||||
connection->send(std::make_shared<MovePlayerPacket::Rot>(yRot, xRot, onGround, abilities.flying || isElytraFlying()));
|
||||
connection->send(std::make_shared<PlayerInputPacket>(xxa, yya, input->jumping, input->sneaking));
|
||||
shared_ptr<Boat> boat = riding->instanceof(eTYPE_BOAT) ? dynamic_pointer_cast<Boat>(riding) : nullptr;
|
||||
if (boat != nullptr && boat->isLocallyDriven()) connection->send(std::make_shared<MoveVehiclePacket>(boat->x, boat->y, boat->z, boat->yRot, boat->xRot));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user