From 690fdec4296e443a4cda8c8705ea029c667468b4 Mon Sep 17 00:00:00 2001 From: NK Date: Thu, 22 Dec 2022 18:45:14 +0000 Subject: [PATCH] TODO: need fix at rank command --- .../java/me/night/nullvalkyrie/database/RankDataManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/me/night/nullvalkyrie/database/RankDataManager.java b/src/main/java/me/night/nullvalkyrie/database/RankDataManager.java index 1a0489a..c081caa 100644 --- a/src/main/java/me/night/nullvalkyrie/database/RankDataManager.java +++ b/src/main/java/me/night/nullvalkyrie/database/RankDataManager.java @@ -12,6 +12,7 @@ import java.util.UUID; public class RankDataManager { public static void setRank(UUID uuid, Rank rank, ScoreboardListener... listener) { + // TODO: fix not working in rank command Document document = new DatabaseManager().getRanksDB().find(new Document("UUID", uuid.toString())).first(); if (document != null) { Bson updated = new Document("Rank", rank.name());