diff --git a/pom.xml b/pom.xml index dd86848..7c1e23e 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 club.claycoffee ClayTech - 1.2.0-dev15 + 1.2.0-dev16 @@ -29,7 +29,7 @@ org.spigotmc spigot-api - 1.15.2-R0.1-SNAPSHOT + 1.16.1-R0.1-SNAPSHOT provided diff --git a/src/main/java/club/claycoffee/ClayTech/implementation/abstractMachines/ANewContainer.java b/src/main/java/club/claycoffee/ClayTech/implementation/abstractMachines/ANewContainer.java index cfe0db9..b154cfd 100644 --- a/src/main/java/club/claycoffee/ClayTech/implementation/abstractMachines/ANewContainer.java +++ b/src/main/java/club/claycoffee/ClayTech/implementation/abstractMachines/ANewContainer.java @@ -89,6 +89,7 @@ protected void tick(Block b) { for (MachineRecipe recipe : recipes) { for (ItemStack input : recipe.getInput()) { + if(input == null) continue; for (int slot : getInputSlots()) { if (SlimefunUtils.isItemSimilar(inv.getItemInSlot(slot), input, true)) { found.put(slot, input.getAmount()); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index f862380..8cfbcfe 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: ClayTech main: club.claycoffee.ClayTech.ClayTech -version: 1.2.0-dev15 +version: 1.2.0-dev16 api-version: 1.13 author: ClayCoffee loadbefore: [Multiverse-Core]