Thread: "You can't wear that"

Results 1 to 2 of 2
  1. #1 "You can't wear that" 
    Registered Member
    Join Date
    May 2015
    Posts
    158
    Thanks given
    52
    Thanks received
    5
    Rep Power
    11
    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);
    Reply With Quote  
     

  2. #2  
    Registered Member
    hc747's Avatar
    Join Date
    Dec 2013
    Age
    26
    Posts
    1,474
    Thanks given
    3,312
    Thanks received
    691
    Rep Power
    1098
    InventoryOptionsHandler.java, also, call player.stopAll(false) prior to the emptying action.
    Reply With Quote  
     

  3. Thankful user:



Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. 667 help (you can't wear that)
    By ChromeII in forum Help
    Replies: 2
    Last Post: 03-13-2014, 06:28 PM
  2. "You can't wear that"
    By balthrek in forum Help
    Replies: 7
    Last Post: 10-21-2013, 08:52 PM
  3. "You can't Wear that" 718
    By Ace Hood in forum Help
    Replies: 1
    Last Post: 10-20-2013, 01:49 AM
  4. [667] "You can't reach that."
    By USKO in forum Help
    Replies: 1
    Last Post: 11-26-2012, 11:42 PM
  5. Replies: 20
    Last Post: 06-14-2008, 10:27 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •