diff --git a/zip-nms/zip-nms-v1_20_R4/pom.xml b/zip-nms/zip-nms-v1_20_R4/pom.xml
index 05a773e..f1fd88b 100644
--- a/zip-nms/zip-nms-v1_20_R4/pom.xml
+++ b/zip-nms/zip-nms-v1_20_R4/pom.xml
@@ -21,7 +21,7 @@
org.spigotmc
spigot
- 1.20.5-R0.1-SNAPSHOT
+ 1.20.6-R0.1-SNAPSHOT
remapped-mojang
provided
@@ -42,10 +42,10 @@
remap-obf
- org.spigotmc:minecraft-server:1.20.5-R0.1-SNAPSHOT:txt:maps-mojang
+ org.spigotmc:minecraft-server:1.20.6-R0.1-SNAPSHOT:txt:maps-mojang
true
- org.spigotmc:spigot:1.20.5-R0.1-SNAPSHOT:jar:remapped-mojang
+ org.spigotmc:spigot:1.20.6-R0.1-SNAPSHOT:jar:remapped-mojang
true
remapped-obf
@@ -60,9 +60,9 @@
${project.build.directory}/${project.artifactId}-${project.version}-remapped-obf.jar
- org.spigotmc:minecraft-server:1.20.5-R0.1-SNAPSHOT:csrg:maps-spigot
+ org.spigotmc:minecraft-server:1.20.6-R0.1-SNAPSHOT:csrg:maps-spigot
- org.spigotmc:spigot:1.20.5-R0.1-SNAPSHOT:jar:remapped-obf
+ org.spigotmc:spigot:1.20.6-R0.1-SNAPSHOT:jar:remapped-obf
diff --git a/zip-plugin/src/main/java/net/imprex/zip/BackpackListener.java b/zip-plugin/src/main/java/net/imprex/zip/BackpackListener.java
index 7d0f5ad..14a4c6c 100644
--- a/zip-plugin/src/main/java/net/imprex/zip/BackpackListener.java
+++ b/zip-plugin/src/main/java/net/imprex/zip/BackpackListener.java
@@ -119,7 +119,7 @@ public void onCraftItem(CraftItemEvent event) {
ItemStack item = event.getCurrentItem();
ZIPBackpackType type = this.backpackHandler.getBackpackType(item);
- if (type.hasCraftingPermission()) {
+ if (type != null && type.hasCraftingPermission()) {
String permission = type.getCraftingPermission();
if (!player.hasPermission(permission)) {
event.setCancelled(true);