Skip to content

Commit 256f89e

Browse files
committed
Parameterize log call.
1 parent 13a8f21 commit 256f89e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common/src/main/java/noobanidus/mods/lootr/common/api/data/DefaultLootFiller.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ public void unpackLootTable(ILootrInfoProvider provider, Player player, Containe
4545
LootTable loottable = level.getServer().reloadableRegistries().getLootTable(lootTable);
4646

4747
if (loottable == LootTable.EMPTY) {
48-
LootrAPI.LOG.error("Unable to fill loot container in " + level.dimension().location() + " at " + pos + " as the loot table '" + lootTable.location() + "' couldn't be resolved! Please search the loot table in `latest.log` to see if there are errors in loading.");
48+
LootrAPI.LOG.error("Unable to fill loot container in {} at {} as the loot table '{}' couldn't be resolved! Please search the loot table in `latest.log` to see if there are errors in loading.", level.dimension()
49+
.location(), pos, lootTable.location());
4950
if (LootrAPI.reportUnresolvedTables()) {
5051
player.displayClientMessage(LootrAPI.getInvalidTableComponent(lootTable), false);
5152
}

0 commit comments

Comments
 (0)