This commit is contained in:
ZLOFENIX 2013-11-26 01:18:33 +04:00
parent 1202dd9c9c
commit d7cc3d1e72

View file

@ -299,7 +299,8 @@ public class WarpDriveConfig
try try
{ {
Class<?> z = Class.forName("gravisuite.GraviSuite"); Class<?> z = Class.forName("gravisuite.GraviSuite");
SpaceHelmets.add(((Item)z.getField("ultimateSolarHelmet").get(null)).itemID); if (z.getField("ultimateSolarHelmet").get(null) != null)
SpaceHelmets.add(((Item)z.getField("ultimateSolarHelmet").get(null)).itemID);
} }
catch (Exception e) catch (Exception e)
{ {