early merge of fix item locations (#1996)
this was just copypasted without any context wasn't it Co-authored-by: Callmore <22885888+Callmore@users.noreply.github.com>
This commit is contained in:
parent
efc70d67af
commit
91dbd3084a
|
|
@ -667,7 +667,7 @@ public abstract class SharedStorageSystem : EntitySystem
|
|||
|
||||
private void OnSaveItemLocation(StorageSaveItemLocationEvent msg, EntitySessionEventArgs args)
|
||||
{
|
||||
if (!ValidateInput(args, msg.Storage, msg.Item, out var player, out var storage, out var item, held: true))
|
||||
if (!ValidateInput(args, msg.Storage, msg.Item, out var player, out var storage, out var item))
|
||||
return;
|
||||
|
||||
SaveItemLocation(storage!, item.Owner);
|
||||
|
|
|
|||
Loading…
Reference in New Issue