GS fix
This commit is contained in:
parent
1202dd9c9c
commit
d7cc3d1e72
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue