diff options
Diffstat (limited to 'npc/commands/rent.txt')
-rw-r--r-- | npc/commands/rent.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/commands/rent.txt b/npc/commands/rent.txt index 8417a04e4..d19de1a4d 100644 --- a/npc/commands/rent.txt +++ b/npc/commands/rent.txt @@ -67,7 +67,7 @@ OnCraftSuper: .@val4=atoi(.@atcmd_parameters$[13]); .@opt5=atoi(.@atcmd_parameters$[14]); .@val5=atoi(.@atcmd_parameters$[15]); - getitem(.@item, 1, 1, .@refi, 0, .@crd1, .@crd2, .@crd3, .@crd4); + getitem2(.@item, 1, 1, .@refi, 0, .@crd1, .@crd2, .@crd3, .@crd4); delinventorylist(); // Needed, because we'll rely on rfind() getinventorylist(); .@index=array_rfind(@inventorylist_id, .@item); |