summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2025-03-19 19:36:39 +0100
committerFedja Beader <fedja@protonmail.ch>2025-03-19 19:36:39 +0100
commit3a7d35b64e1bf7322ffceba15cfbb7ab7459c6b2 (patch)
tree7ef19b0b7e4cf3350b4784237757979f46b8e05a
parent56b176454568dcaeb17c4507d39c58d912bb2431 (diff)
downloadserverdata-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.txt4
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);