Placebo

Placebo

216M Downloads

Server Crash: "Modifier is already applied on this attribute!" (Conflict with Zenith)

Norus6 opened this issue ยท 2 comments

commented

I am experiencing random server crashes when flying through The End. The error message states:

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

The full crash log is available here:
https://mclo.gs/PzEuErF

It appears to be caused by dev.shadowsoffire.placebo.json.RandomAttributeModifier.apply() in Placebo. However, the crash happens when Zenith tries to apply an attribute modifier to a miniboss (ApothMiniboss).

I initially reported this issue in the Zenith repo, but since the error originates from a Placebo class, I am reporting it here as well.

This issue is related to:
TheWinABagel/Zenith#237

Steps to Reproduce:
Install Zenith (latest version for 1.20.1).
Fly around The End (also maybe let minibosses spawn naturally).
Server crashes randomly with the above error.

Expected Behavior:
The game should not crash when minibosses spawn.
The attribute modifier should not be applied twice to the same entity.

Additional Information:
Minecraft Version: 1.20.1
Fabric Loader Version: 0.16.9

Let me know if you need additional logs or testing. Thanks! ๐Ÿ˜Š

commented

Zenith uses a fork of Placebo, FakerLib. Report this issue to that repository, this is not an issue present when using Apotheosis or Placebo.

commented

Thanks for the quick response. I didn't see that it was fakerlib that was being used as the crashlog was referencing placebo. Thanks for enlighting me.