Anuken / Mindustry

The automation tower defense RTS
https://mindustrygame.github.io
GNU General Public License v3.0
21.6k stars 2.89k forks source link

Java Modding Bug #9977

Closed Benny0Li closed 1 week ago

Benny0Li commented 1 week ago

Platforms

Linux

Build

146

Issue

If I made a bug in my Mod, and Mindustry will

[E] Failed to load mod file /home/benny/.local/share/Mindustry/mods/originalBetaVersion1.zip. Skipping. [E] java.lang.ExceptionInInitializerError

That's all right but my Mod won't be seen in Mods, what mean I must open the folder and delete it.

Steps to reproduce

  1. I found a bug and debugged it.
  2. When I reload my Mod,it doesn't work.
  3. After a long time, when I open the Mods folder, there are about eight clone of my Mod
  4. I delete all the bug Mod and reload.
  5. Now it works well.

Mods used

No response

Save file

No response

(Crash) logs

No response

Submission

JasonP01 commented 1 week ago

What even is bozo reporting

JasonP01 commented 1 week ago

I am not using Foo's Client, and have made sure the bug is not caused by mods I have installed.

Also liar

Benny0Li commented 1 week ago

It should be an advice