From 1e7bd8ff35153b809f03dc2d5ab962b4746fecb9 Mon Sep 17 00:00:00 2001 From: DroppingAnvil Date: Sun, 15 Sep 2019 17:10:15 -0500 Subject: [PATCH] Removed 2 lines used for debug. --- .../massivecraft/factions/zcore/fupgrades/UpgradesListener.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/zcore/fupgrades/UpgradesListener.java b/src/main/java/com/massivecraft/factions/zcore/fupgrades/UpgradesListener.java index aa8f88bf..7a752f79 100644 --- a/src/main/java/com/massivecraft/factions/zcore/fupgrades/UpgradesListener.java +++ b/src/main/java/com/massivecraft/factions/zcore/fupgrades/UpgradesListener.java @@ -177,12 +177,10 @@ public class UpgradesListener implements Listener { if (FPlayers.getInstance().getByPlayer(e.getPlayer()) == null) { return; } - System.out.print(e.getItem().toString()); if (e.getItem().getType().toString().contains("LEGGINGS") || e.getItem().getType().toString().contains("CHESTPLATE") || e.getItem().getType().toString().contains("HELMET") || e.getItem().getType().toString().contains("BOOTS")) { int lvl = FPlayers.getInstance().getByPlayer(e.getPlayer()).getFaction().getUpgrade(UpgradeType.REINFORCEDARMOR); double drop = FactionsPlugin.getInstance().getConfig().getDouble("fupgrades.MainMenu.Armor.Armor-HP-Drop.level-" + lvl); int newDamage = (int) Math.round(e.getDamage() - e.getDamage() * drop); - System.out.print(newDamage); e.setDamage(newDamage); } }