You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would appear that equipping the curio with attribute modifier for extra slot of the same type as the curio itself, and subsequently unequipping it causes the game to spontaneously explode.
Expected Behavior:
The game does not spontaneously explode.
Steps to Reproduce:
Make some accessory, say, with the help of ICurioItem interface;
Add attribute modifiers to it by overriding ICurioItem#getAttributeModifiers(SlotContext, UUID, ItemStack);
Use ICuriosHelper to include modifier for +1 slot of the same type as accessory itself;
I only reproduced this in development environment, singleplayer. The slot in this case is my custom scroll slot with default size of 0, which is "unlocked" through permanent modifier adding +1 slot of the type, applied via ICurioStacksHandler#addPermanentModifier.
The text was updated successfully, but these errors were encountered:
Versions:
Observed Behavior:
It would appear that equipping the curio with attribute modifier for extra slot of the same type as the curio itself, and subsequently unequipping it causes the game to spontaneously explode.
Expected Behavior:
The game does not spontaneously explode.
Steps to Reproduce:
ICurioItem
interface;ICurioItem#getAttributeModifiers(SlotContext, UUID, ItemStack)
;ICuriosHelper
to include modifier for +1 slot of the same type as accessory itself;Log: latest.log
Additional Context:
I only reproduced this in development environment, singleplayer. The slot in this case is my custom scroll slot with default size of 0, which is "unlocked" through permanent modifier adding +1 slot of the type, applied via
ICurioStacksHandler#addPermanentModifier
.The text was updated successfully, but these errors were encountered: