mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-02 22:18:09 +01:00
guards (pc): fix 'defined' guards for WIN64/Linux
* The python script i wrote to do that automatically fucked up and forgot a parenthese after _WINDOWS64 in almost every statements
This commit is contained in:
1 parent
3092e1700a
commit
2d02f1d3a7
3 files changed
+42
-42
No files matched your search
@@ -8,7 +8,7 @@
|
||||
#include "../Minecraft.World/net.minecraft.world.level.h"
|
||||
#include "../Minecraft.World/net.minecraft.world.level.dimension.h"
|
||||
#include "TeleportCommand.h"
|
||||
#if (defined(_WINDOWS64 || defined(__linux__)) && defined(MINECRAFT_SERVER_BUILD)
|
||||
#if (defined(_WINDOWS64) || defined(__linux__)) && defined(MINECRAFT_SERVER_BUILD)
|
||||
#include "../Minecraft.Server/FourKitBridge.h"
|
||||
#endif
|
||||
|
||||
@@ -37,7 +37,7 @@ void TeleportCommand::execute(shared_ptr<CommandSender> source, byteArray comman
|
||||
byte xRot = dis.readByte();
|
||||
|
||||
subject->ride(nullptr);
|
||||
#if (defined(_WINDOWS64 || defined(__linux__)) && defined(MINECRAFT_SERVER_BUILD)
|
||||
#if (defined(_WINDOWS64) || defined(__linux__)) && defined(MINECRAFT_SERVER_BUILD)
|
||||
{
|
||||
double outX, outY, outZ;
|
||||
bool cancelled = FourKitBridge::FirePlayerTeleport(subject->entityId,
|
||||
@@ -64,7 +64,7 @@ void TeleportCommand::execute(shared_ptr<CommandSender> source, byteArray comman
|
||||
return;
|
||||
|
||||
subject->ride(nullptr);
|
||||
#if (defined(_WINDOWS64 || defined(__linux__)) && defined(MINECRAFT_SERVER_BUILD)
|
||||
#if (defined(_WINDOWS64) || defined(__linux__)) && defined(MINECRAFT_SERVER_BUILD)
|
||||
{
|
||||
double outX, outY, outZ;
|
||||
bool cancelled = FourKitBridge::FirePlayerTeleport(subject->entityId,
|
||||
|
||||
Reference in new issue
Block a user