We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e418f6b commit 3042584Copy full SHA for 3042584
common/src/main/java/noobanidus/mods/lootr/common/data/DataStorage.java
@@ -220,11 +220,10 @@ public static boolean clearInventories(UUID id) {
220
221
MinecraftServer server = LootrAPI.getServer();
222
if (server == null) {
223
- // TODO: Errors?
+ LootrAPI.LOG.error("MinecraftServer is null at this stage; Lootr cannot clear inventories.");
224
return false;
225
}
226
227
- // TODO:
228
Path dataPath = server.getWorldPath(new LevelResource("data")).resolve("lootr");
229
List<String> files = new ArrayList<>();
230
try (Stream<Path> paths = Files.walk(dataPath)) {
0 commit comments