Remove some outdated PAIL comments

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2021-04-04 17:14:53 +10:00
parent 7af71a460f
commit 79672394a1
3 changed files with 10 additions and 29 deletions

View File

@@ -23,7 +23,7 @@
this.keyToLootTable = immutablemap;
+ // CraftBukkit start - build a reversed registry map
+ ImmutableMap.Builder<LootTable, MinecraftKey> lootTableToKeyBuilder = ImmutableMap.builder();
+ this.keyToLootTable.forEach((lootTable, key) -> lootTableToKeyBuilder.put(key, lootTable)); // PAIL rename keyToLootTable
+ this.keyToLootTable.forEach((lootTable, key) -> lootTableToKeyBuilder.put(key, lootTable));
+ this.lootTableToKey = lootTableToKeyBuilder.build();
+ // CraftBukkit end
}