Skip to content

Commit 1a4ddc5

Browse files
authored
Fix message (#4263)
1 parent 9ce8955 commit 1a4ddc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ private void loadBlock(File file, FileConfiguration cfg, String key) {
202202
* error to the console (if enabled).
203203
*/
204204
if (Slimefun.getRegistry().logDuplicateBlockEntries()) {
205-
Slimefun.logger().log(Level.INFO, "Ignoring duplicate block @ {0}, {1}, {2} ({3} -> {4})", new Object[] { l.getBlockX(), l.getBlockY(), l.getBlockZ(), blockInfo.getString("id"), storage.get(l).getString("id") });
205+
Slimefun.logger().log(Level.INFO, "Ignoring duplicate block @ %d, %d, %d (%s -> %s)".formatted(l.getBlockX(), l.getBlockY(), l.getBlockZ(), blockInfo.getString("id"), storage.get(l).getString("id")));
206206
}
207207

208208
return;

0 commit comments

Comments
 (0)