From 8b50bc3c1ff32b39dd0c07839362c2bf42e19a64 Mon Sep 17 00:00:00 2001 From: Intybyte Date: Thu, 9 Jan 2025 14:42:03 +0100 Subject: [PATCH] Fix ClimbingPick choking and dying (ybw0014 predicted the future) --- .../slimefun4/implementation/items/tools/ClimbingPick.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/ClimbingPick.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/ClimbingPick.java index 3974b63243..dbd9cdad9a 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/ClimbingPick.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/tools/ClimbingPick.java @@ -268,7 +268,9 @@ public List getDisplayRecipes() { List display = new ArrayList<>(); for (Material mat : surfaces.keySet()) { - display.add(new ItemStack(mat)); + if (mat.isItem()) { + display.add(new ItemStack(mat)); + } } return display;