Added: Method HavenBagsAPI.createBag(Data bagData) - returns Data.
Creates and persists a new bag from the provided Data object.
Added: Method HavenBagsAPI.createUnusedBagItem(int size, boolean binding) - returns ItemStack.
Added: Method isBound() to the Data datamodel, to easier distinguish if the bag is bound.
Changed: BagCreationObject.creator now takes a String instead of Player. (Expects UUID as string)
Changed: HavenBagsAPI.BagOpenBy() has been renamed to HavenBagsAPI.bagOpenBy().
Changed: Populated several variables in Data to prevent null exceptions.
Fixed: Display name is now correctly set if the bag is unused.
Fixed: PDC data is now correctly populated onto the created bag item.
Fixed: Pre-defined bag lore is now correctly applied to the bag.
Removed: Temporarily removed WeightTooltips, while I figure out a fix to a permanent lore bug.
Commit:
43eeb3e
Pull:
24