Discord Integration Forge

Discord Integration Forge

666k Downloads

[Bug]: IllegalArgumentException crashes server in genItemStackEmbedIfAvailable in dcintegration:2.1.1

klugemonkey opened this issue ยท 1 comments

commented

What happened?

genItemStackEmbedIfAvailable was called in the handling of LivingDeathEvent and tried to parse an item's tag data resulting in an IllegalArgumentException being thrown which was not handled gracefully causing forge to crash.

The item that the mob used to kill the player had tag data from the Apotheosis mod which may/or may not have been properly formatted, but nonetheless, failed to parse.

The death message occurred before any grave plugin could handle player drops resulting in permanent loss of player data on restart.

Game Version

1.16

What platform are you using?

Forge

Platform version

forge-36.2.4

Config File

https://pastebin.com/estqGb2M

Crash report / Error log (if applicable)

https://pastebin.com/iiMSk1a3

Additional Information

Java 1.8.0_282

commented

still happening with latest version? (2.3.5 for 1.16/ 1.17/1.18)