From 5e8d7009994b0b53604daad92d88e6846aa69377 Mon Sep 17 00:00:00 2001 From: StarWishsama Date: Sun, 20 Oct 2024 00:30:43 +0800 Subject: [PATCH] fix: frosted ice cannot be item anymore --- .../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 e338ce9788..9b6d0ce979 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 @@ -265,7 +265,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;