Skip to content

Commit

Permalink
Update src/main/java/io/github/thebusybiscuit/slimefun4/integrations/…
Browse files Browse the repository at this point in the history
…McMMOIntegration.java

Co-authored-by: J3fftw <[email protected]>
  • Loading branch information
Intybyte and J3fftw1 authored May 4, 2024
1 parent c6f242d commit bd8dc27
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ public void onItemRepair(McMMOPlayerRepairCheckEvent e) {
ItemStack repaired = e.getRepairedObject();
ItemStack material = e.getRepairMaterial();

if (isSalvageable(repaired) && isSalvageable(material))
if (isSalvageable(repaired) && isSalvageable(material)) {
return;
}

e.setCancelled(true);
Slimefun.getLocalization().sendMessage(e.getPlayer(), "anvil.mcmmo-repair");
Expand Down

0 comments on commit bd8dc27

Please sign in to comment.