lucaargolo / entity-banners

A Minecraft mod strongly inspired by Terraria, which adds entity specific banners that increase damage and defense against the entity for players nearby.
Mozilla Public License 2.0
2 stars 0 forks source link

Crash on banner reward #10

Open lxsmnsyc opened 1 year ago

lxsmnsyc commented 1 year ago

Logs: image

which points to this line: https://github.com/lucaargolo/entity-banners/blob/1.19/src/main/kotlin/io/github/lucaargolo/entitybanners/EntityBanners.kt#L141

The partial solution here is to disable either shouldBroadcastToEveryone or shouldBroadcastWhenGivenBanner by setting them to false in the config to prevent the line from executing, but it would be nice that this should be addressed.