Co-authored-by: DrPerkyLegit <116128211+DrPerkyLegit@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Anaël <60509176+Bakoubak@users.noreply.github.com>
Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/4205
This commit is contained in:
committed 2026-11-11 18:46:44 +00:00
1 parent 880566324a
commit b75adc25aa
668 files changed
+19082 -5289

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
{