1
mirror of https://github.com/CarmJos/cn2b2t-project.git synced 2024-09-19 22:05:45 +00:00

修复积分板加载出错的问题

This commit is contained in:
carm 2020-05-28 19:15:47 +08:00
parent d2321f3b21
commit ff15f54427

View File

@ -88,7 +88,7 @@ public class ScoreboardListener implements Listener {
public static void updateLine(Player p, int i) {
if (!ProfileData.get(p).showScoreboard) return;
if (!ProfileData.get(p).showScoreboard || !ScoreboardManager.scoreboards.containsKey(p)) return;
ScoreboardManager sm = ScoreboardManager.scoreboards.get(p);
switch (i) {