diff --git a/src/game/Player.cpp b/src/game/Player.cpp index beaa58d99..31dc2bbb4 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -7806,7 +7806,8 @@ void Player::SendLoot(ObjectGuid guid, LootType loot_type) loot = &go->loot; - if (go->getLootState() == GO_READY) + // generate loot only if ready for open and spawned in world + if (go->getLootState() == GO_READY && go->isSpawned()) { uint32 lootid = go->GetGOInfo()->GetLootId(); if ((go->GetEntry() == BG_AV_OBJECTID_MINE_N || go->GetEntry() == BG_AV_OBJECTID_MINE_S)) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 02bb1c42f..0f5b638e8 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10226" + #define REVISION_NR "10227" #endif // __REVISION_NR_H__