summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@users.noreply.github.com>2013-12-18 08:31:44 -0800
committershennetsind <shennetsind@users.noreply.github.com>2013-12-18 08:31:44 -0800
commit4bd620710d5e1319d60ae42699718277807144e5 (patch)
treef183fb8d8f28170ab7c1cdff592c45cb72bc6e5b
parent8f252ba269b5ad0eaca56a27914bee818b5fc427 (diff)
parent6c7ae76facc1191e47a43c3ea76d2c2c30025d85 (diff)
downloadhercules-4bd620710d5e1319d60ae42699718277807144e5.tar.gz
hercules-4bd620710d5e1319d60ae42699718277807144e5.tar.bz2
hercules-4bd620710d5e1319d60ae42699718277807144e5.tar.xz
hercules-4bd620710d5e1319d60ae42699718277807144e5.zip
Merge pull request #234 from mhalicot/master
Fixed error when unbinding items, removed /* */
-rw-r--r--npc/custom/itembind.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/itembind.txt b/npc/custom/itembind.txt
index 916c57a46..8462b1515 100644
--- a/npc/custom/itembind.txt
+++ b/npc/custom/itembind.txt
@@ -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;
}
@@ -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]) {