ulamog 0 Share Posted November 27, 2016 if i do getGrandExchange().slotContainsItem(i), does i go from 0 to 8 or 1 to 9 ? for the following code: if(getClient().isMembers()){ for(int i=0; i<8; i++){ if(!getGrandExchange().slotContainsItem(i)) freeSlot = true; } }else{ for(int i=0; i<4; i++){ if(!getGrandExchange().slotContainsItem(i)) freeSlot = true; } } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.