Added: config.yml's bag.material now supports Nexo items. (Nexo 1.23+)
Added: custom-bags.yml's bag materals support the same.
Code (YAML):
bag
:
# Item material if the bag-type is 'ITEM'
# Supports Nexo by doing 'nexo:id'.
material
: nexo:cool_item
Changed: Bag items are now created mainly through a single method.
Changed: BagCache's converter now logs to debug instead of info.
Fixed: Refactored how bags are chosen to be saved.
fixes this error, and saves bags correctly.
Code (YAML):
java.util.ConcurrentModificationException
at java.base/java.util.HashMap$HashIterator.nextNode
(HashMap.java:1606
) ~
[?:?
]
at java.base/java.util.HashMap$EntryIterator.next
(HashMap.java:1639
) ~
[?:?
]
at java.base/java.util.HashMap$EntryIterator.next
(HashMap.java:1637
) ~
[?:?
]
at HavenBags-1.42.1.2819-1778107749779.jar//valorless.havenbags.BagData.SaveData
(BagData.java:524
) ~
[?:?
]
Fixed: An error thrown when applying a skin.
Fixed: An issue where null tooltip styles would throw errors when formatting namespaced keys for saving/loading.
Fixed: AdminGUI should no longer throw HTTP 429 errors, when loading heads of online players.
API Changes:
Added: ItemStack <- createBagItem(boolean binding, int size,
@Nullable Player player)
Creates a new bag item directly from HavenBags' item factory, the same way `/bag create` does it.
Added: ItemStack <- createCustomBagItem(String key,
@Nullable Player player)
Added: List<String> <- listCustomBags()
Added: boolean <- customBagRequiresPlayer(String key)
Commit:
712d5ee
Pull:
#49