InventoryOptionsHandler.java, also, call player.stopAll(false) prior to the emptying action.
|
Attempting to add Runecrafting pouches onto my server, and I have everything working except when I use the "Empty" option it keeps saying "You can't wear that"
Empty method (Was already on the server)
Code:if (itemId >= 5509 && itemId <= 5514) { int pouch = -1; if (itemId == 5509) pouch = 0; if (itemId == 5510 || itemId == 5511) pouch = 1; if (itemId == 5512) pouch = 2; if (itemId == 5514) pouch = 3; Runecrafting.emptyPouch(player, pouch); player.stopAll(false);
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |