From 923b4439748f770af11712065dfed773247bb9cd Mon Sep 17 00:00:00 2001 From: Brianna Date: Fri, 3 May 2019 17:33:35 -0400 Subject: [PATCH] null check. --- src/main/java/com/songoda/ultimatekits/hologram/Hologram.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/songoda/ultimatekits/hologram/Hologram.java b/src/main/java/com/songoda/ultimatekits/hologram/Hologram.java index ecf0690..701370f 100644 --- a/src/main/java/com/songoda/ultimatekits/hologram/Hologram.java +++ b/src/main/java/com/songoda/ultimatekits/hologram/Hologram.java @@ -70,6 +70,7 @@ public abstract class Hologram { } private void format(KitBlockData data, Action action) { + if (data == null) return; KitType kitType = data.getType(); ArrayList lines = new ArrayList<>();