Not Enough Gamerules [Forge]

Not Enough Gamerules [Forge]

19k Downloads

ClassCastException with IAF EntityStymphalianFeather

Kasualix opened this issue ยท 1 comments

commented

Describe the Bug

LivingEntity sourceentity = (LivingEntity) event.getSource().getEntity();

A "instanceof" check if may be required.
Or just "Entity sourceentity = event.getSource().getEntity()"

To Reproduce

...

Expected Behavior

...

Screenshots

No response

Mod Version

1.4.2

Minecraft Version

1.18.2

Forge Version

40.2.0

Additional Context

crash report: https://pastebin.ubuntu.com/p/BPsQkq7mXX/
Just see #27, and I cannot understand why, in my opinion this is all your fault, because we can never guess whether or not other mods use the right implementation, isn't that the point of instanceof's existence?

commented

1.19.2 and below are deprecated. It is advised to use 1.19.3 and above (1.19.4 and 1.20 are coming soon)