greedy stack transfers
This commit is contained in:
@@ -30,6 +30,8 @@ namespace UIFixes
|
||||
|
||||
private static readonly EOwnerType[] BannedOwnerTypes = [EOwnerType.Mail, EOwnerType.Trader];
|
||||
|
||||
public static bool BlockSwaps = false;
|
||||
|
||||
public static void Enable()
|
||||
{
|
||||
new DetectSwapSourceContainerPatch().Enable();
|
||||
@@ -57,6 +59,11 @@ namespace UIFixes
|
||||
return false;
|
||||
}
|
||||
|
||||
if (BlockSwaps)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
var wrappedOperation = new R.GridViewCanAcceptOperation(operation);
|
||||
|
||||
if (InHighlight || itemContext == null || targetItemContext == null || wrappedOperation.Succeeded)
|
||||
|
||||
Reference in New Issue
Block a user