mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-05 07:47:43 +01:00
feat: armorstand from decomp
This commit is contained in:
1 parent
27d0a8ffc3
commit
383302eb2e
64 files changed
+2880
-1574
No files matched your search
@@ -2065,3 +2065,11 @@ void ServerPlayer::debug_setPosition(double x, double y, double z, double nYRot,
|
||||
connection->teleport(x, y, z, nYRot, nXRot);
|
||||
}
|
||||
#endif
|
||||
bool ServerPlayer::isSpectator()
|
||||
{
|
||||
if (gameMode == nullptr)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return gameMode->getGameType() == GameType::SPECTATOR;
|
||||
}
|
||||
Reference in new issue
Block a user