Skip to content

Commit

Permalink
Merge pull request #234 from mhalicot/master
Browse files Browse the repository at this point in the history
Fixed error when unbinding items, removed /* */
  • Loading branch information
shennetsind committed Dec 18, 2013
2 parents 8f252ba + 6c7ae76 commit 4bd6207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions npc/custom/itembind.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ prontera,144,174,4 script Bound Items 4_M_JP_MID,{
logmes "Bound "+ @inventorylist_amount[.@item]+" "+@inventorylist_id[.@item]+" as "+.boundtypes$[.@boundtype]+" type.";
}
} else {
/*if(!countbound()) {
if(!countbound()) {
mes "You don't have any bound items in your inventory. Not much I can do here.";
close;
}
Expand All @@ -74,7 +74,7 @@ prontera,144,174,4 script Bound Items 4_M_JP_MID,{
mes "You don't have enough to unbind an item.";
close;
}
}*/
}
getinventorylist();
for(.@i = 0; .@i < @inventorylist_count; .@i++) {
if(@inventorylist_bound[.@i]) {
Expand Down

0 comments on commit 4bd6207

Please sign in to comment.