- Prevent an NPE

This commit is contained in:
swordshine
2014-08-15 14:14:40 +00:00
parent 0faf2bea5e
commit cf80f5f48b

View File

@@ -192,7 +192,7 @@ public class ReplacementHandler implements IGameStateObject {
} while(tailend != null);
}
if (effectSA.isIntrinsic()) {
if (effectSA != null && effectSA.isIntrinsic()) {
effectSA.setIntrinsic(true);
effectSA.changeText();
}