Fixed dev mode detection

This commit is contained in:
LemADEC 2016-02-08 01:40:23 +01:00
parent 4876047946
commit ea2d5df4db

View file

@ -130,7 +130,7 @@ import cr0s.warpdrive.world.SpaceWorldGenerator;
public class WarpDrive implements LoadingCallback { public class WarpDrive implements LoadingCallback {
public static final String MODID = "WarpDrive"; public static final String MODID = "WarpDrive";
public static final String VERSION = "@version@"; public static final String VERSION = "@version@";
public static final boolean isDev = VERSION.equals("@version@") || VERSION.contains("-dev"); public static final boolean isDev = VERSION.equals("@" + "version" + "@") || VERSION.contains("-dev");
public static Block blockShipCore; public static Block blockShipCore;
public static Block blockShipController; public static Block blockShipController;