Xephy 237 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.
dQw4w9WgXcQ 184 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.