From 22e2594659f508ca48644c57b3a94fbcc67dec30 Mon Sep 17 00:00:00 2001 From: WolfyScript Date: Thu, 13 Jun 2024 20:02:02 +0200 Subject: [PATCH] Remove NMSUtil usage in SmithingListener (cherry picked from commit e954b2441a318918f096939e8970435d6312f825) --- .../customcrafting/listeners/smithing/SmithingListener.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/me/wolfyscript/customcrafting/listeners/smithing/SmithingListener.java b/src/main/java/me/wolfyscript/customcrafting/listeners/smithing/SmithingListener.java index d7e392e2..c3b06494 100644 --- a/src/main/java/me/wolfyscript/customcrafting/listeners/smithing/SmithingListener.java +++ b/src/main/java/me/wolfyscript/customcrafting/listeners/smithing/SmithingListener.java @@ -103,7 +103,6 @@ public void onPrepare(PrepareSmithingEvent event) { SmithingRecipe recipe = (SmithingRecipe) inv.getRecipe(); if (recipe == null || ICustomVanillaRecipe.isPlaceholderOrDisplayRecipe(recipe.getKey())) { event.setResult(null); - customCrafting.getApi().getNmsUtil().getRecipeUtil().setCurrentRecipe(event.getView(), null); } }); }