Skip to content

Commit

Permalink
Remove NMSUtil usage in SmithingListener
Browse files Browse the repository at this point in the history
(cherry picked from commit e954b24)
  • Loading branch information
WolfyScript committed Jul 2, 2024
1 parent bca3359 commit 22e2594
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});
}
Expand Down

0 comments on commit 22e2594

Please sign in to comment.