Brutal Bosses - Custom Bosses[Forge/Fabric]

Brutal Bosses - Custom Bosses[Forge/Fabric]

6M Downloads

[Bug]: java.lang.IllegalArgumentException: Modifier is already applied on this attribute!

SiverDX opened this issue ยท 1 comments

commented

Describe the bug you're experiencing

Was afk and the game crashed
Did not happen when I spawned multiple huskboss entities afterwards

Maybe could do a check if an attribute of that type was already set?

mob.getAttribute(Attributes.MOVEMENT_SPEED).addTransientModifier(speedMod);

https://www.curseforge.com/minecraft/mc-mods/enemy-expansion modifies the entity
And there are some NBT-tags from https://www.curseforge.com/minecraft/mc-mods/obscure-api

But then again, it did not crash when I spawned them in

Reproducability

Could not reproduce

Seems to be rare, first time it happened?

Mod up to date

  • Before submitting this issue I updated to the newest version and reproduced it

Minecraft version

1.19

Modloader version

Forge

Logs and Datapacks

https://gist.github.com/SiverDX/2b5a310681bc49d246dede1e10377e39

commented

fixed in 6.3