Skip to content

Commit

Permalink
Removed debug messages in console on contribution value
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigerpanzer02 committed Jan 12, 2024
1 parent 6b26094 commit 5c75d14
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/plugily/projects/murdermystery/arena/Arena.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
}

Expand Down

0 comments on commit 5c75d14

Please sign in to comment.