diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-03-19 19:36:39 +0100 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-03-19 19:36:39 +0100 |
commit | 3a7d35b64e1bf7322ffceba15cfbb7ab7459c6b2 (patch) | |
tree | 7ef19b0b7e4cf3350b4784237757979f46b8e05a | |
parent | 56b176454568dcaeb17c4507d39c58d912bb2431 (diff) | |
download | serverdata-3a7d35b64e1bf7322ffceba15cfbb7ab7459c6b2.tar.gz serverdata-3a7d35b64e1bf7322ffceba15cfbb7ab7459c6b2.tar.bz2 serverdata-3a7d35b64e1bf7322ffceba15cfbb7ab7459c6b2.tar.xz serverdata-3a7d35b64e1bf7322ffceba15cfbb7ab7459c6b2.zip |
This check is in fact redundant
-rw-r--r-- | npc/items/emptybox.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/npc/items/emptybox.txt b/npc/items/emptybox.txt index d00e35fea..4b3010dbb 100644 --- a/npc/items/emptybox.txt +++ b/npc/items/emptybox.txt @@ -22,10 +22,6 @@ OnUse: l("7 Grass Carps"), l("87 Plushrooms"); - if (getarraysize(.@boxMatrix) % 3 != 0) - Exception("Invalid array size: "+getarraysize(.@boxMatrix), - RB_DEFAULT|RB_ISFATAL); - if (getarraysize(.@boxStrings) * 3 != getarraysize(.@boxMatrix)) Exception("Invalid array size: "+getarraysize(.@boxStrings) +"*3 !="+getarraysize(.@boxMatrix), RB_DEFAULT|RB_ISFATAL); |