Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: "Library source does not match the bytecode for class" intellij error  (Read 577 times)

NikoTheGuyDude

  • Commander
  • ***
  • Posts: 231
    • View Profile

Hi, I've got a problem that probably has a simple solution but I'm too dumb to figure it out. With intellij as my IDE, and after even reinstalling starsector after a uninstall, whenever I try to look at classes like ShipAPI I get a warning telling me that the bytecode is different between the API and the .class file. Sure enough, when I look at it, it is in fact different. This easily could've been just a corrupt download, so I reinstalled starsector, but there was still a difference. To make things worse, ShipAPI is trying to import a class that doesn't even exist (com.fs.starfarer.api.combat.listeners.CombatListenerManagerAPI). The only thing I can think of is that the most recent hotfix comes packaged with a broken API.

Yes, I've set starsector as a library, and yes, I'm pretty sure I've set it up properly.
Logged