mirror of
https://github.com/songoda/UltimateKits.git
synced 2024-11-08 19:51:36 +01:00
NPE Fix with item display.
This commit is contained in:
parent
e8e2b26f10
commit
58927a437b
@ -40,7 +40,7 @@ public class DisplayItemHandler {
|
||||
|
||||
Kit kit = kitBlockData.getKit();
|
||||
|
||||
if (kit.getReadableContents(null, false, false, false) == null) return;
|
||||
if (kit == null) return;
|
||||
|
||||
List<ItemStack> list = kit.getReadableContents(null, false, false, false);
|
||||
if (list.isEmpty()) return;
|
||||
|
Loading…
Reference in New Issue
Block a user