Improves console logging
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
This commit is contained in:
@@ -16,7 +16,6 @@ import org.bukkit.scheduler.BukkitScheduler;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Random;
|
||||
import java.util.logging.Level;
|
||||
|
||||
/**
|
||||
* A runnable session for performing a reforging/salvage task
|
||||
@@ -147,7 +146,7 @@ public abstract class Session implements Runnable {
|
||||
newDurability = (short) (maxDurability - random.nextInt(maxDurability - 25));
|
||||
}
|
||||
if (ItemHelper.updateDamage(item, maxDurability - newDurability)) {
|
||||
BlacksmithPlugin.getInstance().getLogger().log(Level.WARNING, "Unable to update damage for " + item);
|
||||
BlacksmithPlugin.warn("Unable to update damage for " + item);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user