From d3fe01e03357232b2cd4f0fe807946962996c90b Mon Sep 17 00:00:00 2001 From: Intybyte Date: Mon, 23 Dec 2024 21:01:12 +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;