Xephy 237 Share Posted March 14, 2017 getBank().count(ITEM_NAME) returns 1 if the item is an empty placeholder. This leads the getBank().withdraw(ITEM_NAME) to not withdraw the correct item due to the placeholder returning a count of 1. Link to comment Share on other sites More sharing options...
dQw4w9WgXcQ 184 Share Posted March 14, 2017 use ids if you cant use ids because you are using a filter or something with item name put !item.isPlaceHolder() in the filter Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.