diff --git a/src/main/java/me/danjono/inventoryrollback/inventory/RestoreInventory.java b/src/main/java/me/danjono/inventoryrollback/inventory/RestoreInventory.java index 5717764..fefc68d 100644 --- a/src/main/java/me/danjono/inventoryrollback/inventory/RestoreInventory.java +++ b/src/main/java/me/danjono/inventoryrollback/inventory/RestoreInventory.java @@ -62,7 +62,7 @@ private static ItemStack[] stacksFromBase64(String packageVersion, String data) } if (stacks == null) - return stacks; + return new ItemStack[]{}; for (int i = 0; i < stacks.length; i++) { try {