diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-04-23 23:19:17 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-04-23 23:19:17 -0400 |
commit | a6d3098563a9d712a4dd9ebef3ae0b3a9f1e40c1 (patch) | |
tree | 645aa9e40981e63c3265b689bffba532b3f96839 /world/map/npc/functions/DyeConfig.txt | |
parent | e8a1900fc0651a3ee74ce4cbe181fce2851f6420 (diff) | |
download | serverdata-a6d3098563a9d712a4dd9ebef3ae0b3a9f1e40c1.tar.gz serverdata-a6d3098563a9d712a4dd9ebef3ae0b3a9f1e40c1.tar.bz2 serverdata-a6d3098563a9d712a4dd9ebef3ae0b3a9f1e40c1.tar.xz serverdata-a6d3098563a9d712a4dd9ebef3ae0b3a9f1e40c1.zip |
getitemname => getitemlink
Diffstat (limited to 'world/map/npc/functions/DyeConfig.txt')
-rw-r--r-- | world/map/npc/functions/DyeConfig.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/functions/DyeConfig.txt b/world/map/npc/functions/DyeConfig.txt index 1da1e734..0072dd26 100644 --- a/world/map/npc/functions/DyeConfig.txt +++ b/world/map/npc/functions/DyeConfig.txt @@ -23,7 +23,7 @@ OnInit: end; S_Array: - if(getitemname($@DYE_items$[$@w]) == "Unknown Item") goto L_Fail; + if(getitemlink($@DYE_items$[$@w]) == "Unknown Item") goto L_Fail; set $@c, 0; callsub S_Color; set $@w, $@w + 1; @@ -35,7 +35,7 @@ L_Fail: mapexit; S_Color: - if(getitemname($@DYE_colors$[$@c] + $@DYE_items$[$@w]) == "Unknown Item") goto L_Fail; + if(getitemlink($@DYE_colors$[$@c] + $@DYE_items$[$@w]) == "Unknown Item") goto L_Fail; set $@c, $@c + 1; if($@c < getarraysize($@DYE_colors$)) goto S_Color; return; |