Cosmetica-cc / Cosmetica

Custom public cosmetics, Free for everyone. Forever. Ongoing Development is happening at Cosmetica-2, still WIP
https://cosmetica.cc
Apache License 2.0
54 stars 11 forks source link

Crash #84

Closed Aces-and-Jacks closed 1 year ago

Aces-and-Jacks commented 1 year ago

Describe the bug Minecraft crashes

To Reproduce Steps to reproduce the behavior:

  1. Go to server
  2. crashes

Expected behavior no crash

Screenshots If applicable, add screenshots to help explain your problem.

Setup (please complete the following information):

Additional context I'm not entirely sure if it's this mod or a different mod. I just noticed it happened with this mod more frequently when enabled. When I disabled the mod it didn't happen as fast tho so maybe I'm wrong that its sole this mod

https://mclo.gs/TPAElBw

valoeghese commented 1 year ago

That crash is from a mod’s mixin to the ThrownEnderPearl class. We don’t do anything with thrown ender pearls so the crash isn’t us

valoeghese commented 1 year ago

Specifically it seems that some mod is crashing when an enderpearl lands on a creeper because it says the crash reason is a mod tried to treat a Creeper as a Player on the thrown ender pearl landing

(source: the cause of the crash a ClassCastException on a mixin method called onHit in class_1684, which i looked up and found is ThrownEnderPearl. The exception states the code tried to cast class_1548 (Creeper) to class_1657 (Player))

Aces-and-Jacks commented 1 year ago

ok, I think I might know. thanks

Aces-and-Jacks commented 1 year ago

actually not I don't know any that effect ender pearls but thanks anyway

valoeghese commented 1 year ago

Assuming you don’t have any mods that affect ender pearls, most likel one of your mods needs to do something under the hood when a pearl lands for some reason

Aces-and-Jacks commented 1 year ago

yeah. I don't really know how to reproduce the issue since it was in a server lobby at a specific time but I disabled a mod that I think may have been causing it. if the issue continues later I'll just figure it out from there