From 3dca32a226db4e8ea2993200482461764594e4dd Mon Sep 17 00:00:00 2001 From: nossr50 Date: Fri, 11 Jan 2019 02:05:54 -0800 Subject: [PATCH] mcMMO is now a lot more compatible with plugins that use scoreboards Citizens 2 for example --- Changelog.txt | 1 + .../com/gmail/nossr50/util/scoreboards/ScoreboardWrapper.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog.txt b/Changelog.txt index a4cfe8679..d5ba53ef2 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -35,6 +35,7 @@ Version 2.1.0 - (Locale) Removed localizations with the following codes for being almost empty: id, HR_hr, et_EE, lv, lt, no, pl_PL, pt_PT, tr_TR - (Config) Removed SkillShot's IncreaseLevel & IncreasePercentage (replaced by RankDamageMultiplier) - (Config) Removed AxeMastery's MaxBonus & MaxBonusLevel (replaced by RankDamageMultiplier) + = (Plugin Compatibility) mcMMO now uses the main scoreboard instead of creating a new one, this improves plugin compatibility with other plugins (Citizens2, etc...) = (Items) Chimaera Wing now tracks cooldowns between sessions for players (no more disconnect abuse) = (Skills) Added missing mushroom blocks to experience.yml defaults = (Skills) Tridents will no longer be considered unarmed diff --git a/src/main/java/com/gmail/nossr50/util/scoreboards/ScoreboardWrapper.java b/src/main/java/com/gmail/nossr50/util/scoreboards/ScoreboardWrapper.java index 9348f0f84..df6ff04f3 100644 --- a/src/main/java/com/gmail/nossr50/util/scoreboards/ScoreboardWrapper.java +++ b/src/main/java/com/gmail/nossr50/util/scoreboards/ScoreboardWrapper.java @@ -64,7 +64,7 @@ public class ScoreboardWrapper { } public static ScoreboardWrapper create(Player player) { - return new ScoreboardWrapper(player.getName(), mcMMO.p.getServer().getScoreboardManager().getNewScoreboard()); + return new ScoreboardWrapper(player.getName(), mcMMO.p.getServer().getScoreboardManager().getMainScoreboard()); } public BukkitTask updateTask = null;