This commit is contained in:
Evil Factory
2021-07-19 00:12:41 -03:00
parent a241512857
commit 8a8018509d
2 changed files with 7 additions and 1 deletions
@@ -2643,7 +2643,8 @@ namespace Barotrauma
}
logPropertyChangeCoroutine = CoroutineManager.InvokeAfter(() =>
{
GameServer.Log($"{sender.Character.Name} set the value \"{property.Name}\" of the item \"{Name}\" to \"{logValue}\".", ServerLog.MessageType.ItemInteraction);
if(sender.Character != null)
GameServer.Log($"{sender.Character.Name} set the value \"{property.Name}\" of the item \"{Name}\" to \"{logValue}\".", ServerLog.MessageType.ItemInteraction);
}, delay: 1.0f);
}
#endif