geashaw Joined Jan 8, 2015 Messages 1,426 Jun 6, 2016 Thread Author #1 Was looking for a way to convert this method to allow for all kind of bones: private boolean gotBones { return Inventory.getItems("Dragon bones").results().size > 0; }
Was looking for a way to convert this method to allow for all kind of bones: private boolean gotBones { return Inventory.getItems("Dragon bones").results().size > 0; }
C cloud Engineer Joined Jul 28, 2013 Messages 2,776 Jun 6, 2016 #2 Inventory.newQuery().names(USE_A_REGEX_PATTERN_OBJECT_HERE).results().size() > 0;
geashaw Joined Jan 8, 2015 Messages 1,426 Jun 6, 2016 Thread Author #3 Cloud said: Inventory.newQuery().names(USE_A_REGEX_PATTERN_OBJECT_HERE).results().size() > 0; Click to expand... Thanks, that's what I needed.
Cloud said: Inventory.newQuery().names(USE_A_REGEX_PATTERN_OBJECT_HERE).results().size() > 0; Click to expand... Thanks, that's what I needed.