Minor patch

Fixed a glitch in inventory when storing items.
Fixed leaked test code throwing issues in merchant's buy action.
This commit is contained in:
ronancpl
2019-05-26 16:36:32 -03:00
parent bb80441af0
commit 89eca2995b
2 changed files with 3 additions and 2 deletions

View File

@@ -139,6 +139,8 @@ public class StorageProcessor {
c.announce(MaplePacketCreator.enableActions());
return;
}
item = item.copy(); // thanks Robin Schulz & BHB88 for noticing a inventory glitch when storing items
} finally {
inv.unlockInventory();
}