From 5c75d145986fe03ddbbedd8af426812d80686f56 Mon Sep 17 00:00:00 2001 From: Tigerpanzer_02 <37453987+Tigerpanzer02@users.noreply.github.com> Date: Fri, 12 Jan 2024 22:12:50 +0100 Subject: [PATCH] Removed debug messages in console on contribution value --- src/main/java/plugily/projects/murdermystery/arena/Arena.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/plugily/projects/murdermystery/arena/Arena.java b/src/main/java/plugily/projects/murdermystery/arena/Arena.java index 3cbaa1cf..3d3f7e85 100644 --- a/src/main/java/plugily/projects/murdermystery/arena/Arena.java +++ b/src/main/java/plugily/projects/murdermystery/arena/Arena.java @@ -410,7 +410,6 @@ public int getContributorValue(Role role, User user) { } Player player = user.getPlayer(); int contributor = user.getStatistic("CONTRIBUTION_" + role.name()); - Bukkit.getConsoleSender().sendMessage(user.getPlayer().getName() + role.name() + "->C:" + contributor + user.getStatistic(plugin.getStatsStorage().getStatisticType("CONTRIBUTION_" + role.name()))); int increase = plugin.getPermissionsManager().getPermissionCategoryValue(role.name() + "_BOOSTER", player); int multiplicator = plugin.getPermissionsManager().getPermissionCategoryValue("CHANCES_BOOSTER", player); int calculatedContributor = (contributor + increase) * (multiplicator == 0 ? 1 :multiplicator); @@ -419,7 +418,6 @@ public int getContributorValue(Role role, User user) { } else { detectiveContributions.put(user, calculatedContributor); } - Bukkit.getConsoleSender().sendMessage(user.getPlayer().getName() + role.name() + "->" + calculatedContributor); return calculatedContributor; }