fix compile errors
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user