Started by
Tepidwater
on
Topic category: Help with MCreator software
I'm using the Attributes plugin by @Azzier to make a food that increases a players stat with a modifier each time it is eaten. However the second time it is used the game crashes with an error stating that 'the modifier is already on this attribute' I understood this as meaning that the same modifier cannot be applied more than once, however this doesn't work with what I aim to do.
Any Ideas to work around this?
Thankyou for any help 🙏
I'm not sure how this modifier system works, but you could try using player persistent variables instead. Rather than changing a modifier, (which is presumably some sort of boolean tag), you can add one to a variable, and then use this variable's value to determine which modifier to apply.
Thankyou for the help! I'll give that a look