From d7cc3d1e72d7cef5cbdae2c5578a9e043a22f940 Mon Sep 17 00:00:00 2001 From: ZLOFENIX Date: Tue, 26 Nov 2013 01:18:33 +0400 Subject: [PATCH] GS fix --- src/cr0s/WarpDrive/WarpDriveConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cr0s/WarpDrive/WarpDriveConfig.java b/src/cr0s/WarpDrive/WarpDriveConfig.java index 3586d64f..681f6f84 100644 --- a/src/cr0s/WarpDrive/WarpDriveConfig.java +++ b/src/cr0s/WarpDrive/WarpDriveConfig.java @@ -299,7 +299,8 @@ public class WarpDriveConfig try { 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) {