refresh All
Refreshes all inventories that match the given predicate.
Since
2.0.0
Parameters
predicate
A function that determines whether an inventory should be refreshed for a specific player. Takes a Player and inventory T as parameters and returns true to refresh, false to skip. Default predicate returns true for all cases.