diff options
-rwxr-xr-x | npc/functions/DyeConfig.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/DyeConfig.txt b/npc/functions/DyeConfig.txt index 8ab0aa1a..60ab1e75 100755 --- a/npc/functions/DyeConfig.txt +++ b/npc/functions/DyeConfig.txt @@ -22,7 +22,7 @@ OnInit: end; S_Array: - if(getitemlink($@DYE_items$[$@w]) == "Unknown Item") goto L_Fail; + if(getitemname($@DYE_items$[$@w]) == "null") goto L_Fail; $@c = 0; callsub S_Color; $@w = $@w + 1; @@ -34,7 +34,7 @@ L_Fail: mapexit; S_Color: - if(getitemlink($@DYE_colors$[$@c] + $@DYE_items$[$@w]) == "Unknown Item") goto L_Fail; + if(getitemname($@DYE_colors$[$@c] + $@DYE_items$[$@w]) == "null") goto L_Fail; $@c = $@c + 1; if($@c < getarraysize($@DYE_colors$)) goto S_Color; return; |