mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
fix "Grabbed what you could but your inventory is full" not showing up
This commit is contained in:
parent
e58b1abd6b
commit
6ce2c33a42
2 changed files with 8 additions and 7 deletions
|
@ -106,6 +106,8 @@ namespace HISP.Game.Items
|
|||
droppedItemsList[i].DespawnTimer--;
|
||||
if(droppedItemsList[i].DespawnTimer <= 0)
|
||||
{
|
||||
if (GameServer.GetUsersAt(droppedItemsList[i].X, droppedItemsList[i].Y, true, true).Length > 0) // Dont despawn items players are standing on
|
||||
continue;
|
||||
Logger.DebugPrint("Despawned Item at " + droppedItemsList[i].X + ", " + droppedItemsList[i].Y);
|
||||
RemoveDroppedItem(droppedItemsList[i]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue