mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-06-06 18:44:30 +00:00
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
15 lines
449 B
C++
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);
|
|
}; |