Inventory.TryPutItem doesn't put an item in the inventory (or create a NetEntityEvent) if the item is already in it

This commit is contained in:
Regalis
2017-01-10 20:50:31 +02:00
parent df59f0d089
commit 3041138f03
3 changed files with 12 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ namespace Barotrauma.Networking
{
long msgPosition = msg.Position;
DebugConsole.NewMessage("received msg "+thisEventID, Microsoft.Xna.Framework.Color.Green);
DebugConsole.NewMessage("received msg "+thisEventID+ " ("+entity.ToString()+")", Microsoft.Xna.Framework.Color.Green);
lastReceivedID++;
try
{