More tests, more fixes
All checks were successful
Build / Build (push) Successful in 1m57s

This commit is contained in:
2026-07-05 18:26:55 +02:00
parent 1ab15110f5
commit 6a82c20cf2
20 changed files with 1682 additions and 12 deletions

View File

@@ -8,7 +8,9 @@ public class Covet : Script, IScriptOnSecondaryEffect
{
if (target.HeldItem == null)
return;
if (!move.User.TryStealHeldItem(out var item))
if (move.User.HeldItem is not null)
return;
if (!target.TryStealHeldItem(out var item))
return;
_ = move.User.ForceSetHeldItem(item);
}