Formatting
This commit is contained in:
parent
07053c9b5f
commit
0ba5074c30
1 changed files with 5 additions and 4 deletions
|
@ -37,6 +37,7 @@ public class NPCDataManager {
|
||||||
DatabaseManager.npcs.insertOne(newDocument);
|
DatabaseManager.npcs.insertOne(newDocument);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void reloadNPC() {
|
public static void reloadNPC() {
|
||||||
try (MongoCursor<Document> cursor = DatabaseManager.npcs.find().cursor()) {
|
try (MongoCursor<Document> cursor = DatabaseManager.npcs.find().cursor()) {
|
||||||
while (cursor.hasNext()) {
|
while (cursor.hasNext()) {
|
||||||
|
|
Loading…
Reference in a new issue