Fix saving prefered quick store item locations (#32480)

this was just copypasted without any context wasn't it
This commit is contained in:
Callmore
2024-10-17 05:00:52 +01:00
committed by GitHub
parent 9889f8db9d
commit 7039f87bd4

View File

@@ -666,7 +666,7 @@ public abstract class SharedStorageSystem : EntitySystem
private void OnSaveItemLocation(StorageSaveItemLocationEvent msg, EntitySessionEventArgs args) 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; return;
SaveItemLocation(storage!, item.Owner); SaveItemLocation(storage!, item.Owner);