Files
neoStudiosLCE-neoLegacy/Minecraft.Client/TeleportCommand.h
neoapps-dev 89a64882ef fix(PlayerConnection): /tp fix
fix(PlayerConnection): pointer

fix(PlayerConnection): bytearray

fix(PlayerConnection): bytearray

fix(PlayerConnection): bytearray

fix(TeleportCommand): crash on coords

fix(TeleportCommand): crash on coords

fix: sunflower randomly spawning
2026-05-03 17:59:26 +03:00

15 lines
449 B
C++

#pragma once
#include "../Minecraft.World/Command.h"
class TeleportCommand : public Command
{
public:
virtual EGameCommand getId();
virtual void execute(shared_ptr<CommandSender> source, byteArray commandData);
static shared_ptr<GameCommandPacket> preparePacket(PlayerUID subject, PlayerUID destination);
//neo: added
static shared_ptr<GameCommandPacket> preparePacket(PlayerUID subject, float x, float y, float z, byte yRot, byte xRot);
};