diff --git a/src/main/java/com/night/nullvalkyrie/Items/CustomItemManager.java b/src/main/java/com/night/nullvalkyrie/Items/CustomItemManager.java index ec41430..e202a63 100644 --- a/src/main/java/com/night/nullvalkyrie/Items/CustomItemManager.java +++ b/src/main/java/com/night/nullvalkyrie/Items/CustomItemManager.java @@ -48,7 +48,7 @@ public class CustomItemManager { String property = Arrays.asList(key.split("\\.")).get(2); if (property.equals("damage") && c.getInt(key) > 0) { pr.add(ChatColor.GRAY + "Damage: " + ChatColor.RED + "+" + c.getInt(key)); - } else if (property.equals("damage") && c.getInt(key) > 0) { + } else if (property.equals("speed") && c.getInt(key) > 0) { pr.add(ChatColor.GRAY + "Speed: " + ChatColor.RED + "+" + c.getInt(key)); } } else if (key.startsWith("lore.ability.")) { diff --git a/src/main/java/com/night/nullvalkyrie/Rank/SideBarManager.java b/src/main/java/com/night/nullvalkyrie/Rank/SideBarManager.java index 54f45eb..88bf723 100644 --- a/src/main/java/com/night/nullvalkyrie/Rank/SideBarManager.java +++ b/src/main/java/com/night/nullvalkyrie/Rank/SideBarManager.java @@ -45,7 +45,7 @@ public class SideBarManager { public void changeOnDeath(Player player) { int amount = deaths.get(player.getUniqueId()); amount++; - deaths.put(player.getUniqueId(), amount); + deaths.put(player.getUniqueId(), amount++); player.getScoreboard().getTeam("deathsTotal").setSuffix(ChatColor.YELLOW.toString() + amount); } }