diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 22:52:50 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 22:52:50 -0300 |
commit | c3e191d48971bf0c7a4dce0e1e9b0b62a1042560 (patch) | |
tree | c187551724520692d06746532a638e6494740e05 /npc/functions | |
parent | 88e8789707de422df314cf096a9ec12700ea9aff (diff) | |
download | serverdata-c3e191d48971bf0c7a4dce0e1e9b0b62a1042560.tar.gz serverdata-c3e191d48971bf0c7a4dce0e1e9b0b62a1042560.tar.bz2 serverdata-c3e191d48971bf0c7a4dce0e1e9b0b62a1042560.tar.xz serverdata-c3e191d48971bf0c7a4dce0e1e9b0b62a1042560.zip |
Dye code should burn in fire.... But this will hold for a few
Diffstat (limited to 'npc/functions')
-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; |