diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-07-06 17:46:09 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-07-06 17:46:09 -0300 |
commit | ad98d5ce00f02c6fc0ca6c12b3d1e659a1050e4f (patch) | |
tree | 7e884c0fe597dd75866cf5c117ce55caf2088225 | |
parent | 08cf44cb9cd6c940226caaf46ff57e61e09cb4b9 (diff) | |
download | serverdata-ad98d5ce00f02c6fc0ca6c12b3d1e659a1050e4f.tar.gz serverdata-ad98d5ce00f02c6fc0ca6c12b3d1e659a1050e4f.tar.bz2 serverdata-ad98d5ce00f02c6fc0ca6c12b3d1e659a1050e4f.tar.xz serverdata-ad98d5ce00f02c6fc0ca6c12b3d1e659a1050e4f.zip |
If this is unified, then I don't need getd() either
Part of Self-Made-Problems™
-rw-r--r-- | npc/items/recipes.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/items/recipes.txt b/npc/items/recipes.txt index 4a790c81..c1032182 100644 --- a/npc/items/recipes.txt +++ b/npc/items/recipes.txt @@ -10,7 +10,7 @@ function showRecipe { if (getargcount() < 3 || getargcount() % 2 != 0) return false;//Exception("Faulty recipe skill command invoked - error"); - if (getd("RECIPES["+getarg(0)+"]")) { + if (RECIPES[getarg(0)])) { if (getarg(1)) { mes l(".:: %s Recipe ::.", getitemlink(getarg(1))); |