Merge branch 'main' into property-entrance-rewrite

This commit is contained in:
Jett
2023-10-30 02:23:54 +00:00
committed by GitHub
5 changed files with 15 additions and 12 deletions

View File

@@ -1029,7 +1029,7 @@ void GameMessages::SendSetNetworkScriptVar(Entity* entity, const SystemAddress&
}
void GameMessages::SendDropClientLoot(Entity* entity, const LWOOBJID& sourceID, LOT item, int currency, NiPoint3 spawnPos, int count) {
if (Game::config->GetValue("disable_drops") == "1") {
if (Game::config->GetValue("disable_drops") == "1" || !entity) {
return;
}