Skip to content

Commit

Permalink
fixed breaker module crafting getting the pickaxe type wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Jan 24, 2024
1 parent f9f73cc commit 5626b70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ default ItemStack getPickaxe(ItemStack moduleStack) {
}

default ItemStack setPickaxe(ItemStack moduleStack, ItemStack pickaxeStack) {
ModuleHelper.validateNBTForWriting(pickaxeStack).put(NBT_PICKAXE, pickaxeStack.serializeNBT());
ModuleHelper.validateNBTForWriting(moduleStack).put(NBT_PICKAXE, pickaxeStack.serializeNBT());
return moduleStack;
}
}

0 comments on commit 5626b70

Please sign in to comment.