Skip to content

Commit 22e2594

Browse files
committed
Remove NMSUtil usage in SmithingListener
(cherry picked from commit e954b24)
1 parent bca3359 commit 22e2594

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/me/wolfyscript/customcrafting/listeners/smithing/SmithingListener.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ public void onPrepare(PrepareSmithingEvent event) {
103103
SmithingRecipe recipe = (SmithingRecipe) inv.getRecipe();
104104
if (recipe == null || ICustomVanillaRecipe.isPlaceholderOrDisplayRecipe(recipe.getKey())) {
105105
event.setResult(null);
106-
customCrafting.getApi().getNmsUtil().getRecipeUtil().setCurrentRecipe(event.getView(), null);
107106
}
108107
});
109108
}

0 commit comments

Comments
 (0)