fix compile errors

This commit is contained in:
Vojtěch Šokala
2026-03-15 23:14:54 +01:00
parent 73c718c676
commit 266d463873
2 changed files with 2 additions and 2 deletions
@@ -149,7 +149,7 @@ public abstract class AbstractModInitializer
this.checkForUpdates();
LOGGER.info(ModInfo.READABLE_NAME + " server Initialized at " + server.getServerDirectory());
LOGGER.info(ModInfo.READABLE_NAME + " server Initialized at " + server. #if MC_VER <= MC_1_12_2 getDataDirectory() #else getServerDirectory() #endif);
});
}
@@ -17,7 +17,7 @@ import static net.minecraft.commands.Commands.literal;
#endif
public class CrashCommand #if MC_VER < MC_1_12_2 extends AbstractCommand #endif
public class CrashCommand #if MC_VER > MC_1_12_2 extends AbstractCommand #endif
{
#if MC_VER <= MC_1_12_2
public void execute(ICommandSender sender, String[] args)