Iron Jetpacks Fabric

Iron Jetpacks Fabric

2M Downloads

3.0 still prevents dedicated server from starting. Same since 2.6. 2.5 was the last version to work.

dandin87 opened this issue ยท 1 comments

commented

All of Fabric 3 2.6.9 - NA/EU official server testing

[10:56:44] [main/WARN]: Using deprecated ArtificeResourcePack#ofData! Issues may occur!
[10:56:44] [main/FATAL]: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'iron-jetpacks'!
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53) ~[fabric-server-launch.jar:?]
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36) ~[fabric-server-launch.jar:?]
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointServer.start(EntrypointServer.java:32) ~[fabric-server-launch.jar:?]
at net.minecraft.server.Main.main(Main.java:92) [intermediary-server.jar:?]

Full Log
https://paste.lucko.me/2rgnbacdK3

commented

this.model = new Lazy<>(() -> new JetpackModel(this));

This is an unsafe reference to JetpackModel and should be moved to a getter method:

@Environment(EnvType.CLIENT)
private JetpackModel model;

@Environment(EnvType.CLIENT)
public JetpackModel getModel()
{
  if(model == null) model = new JetpackModel(this);
  return model;
}