Commits
Lauriichan authored and md_5 committed 16c9767978a
1 + | --- a/net/minecraft/world/level/levelgen/structure/structures/ShipwreckPieces.java |
2 + | +++ b/net/minecraft/world/level/levelgen/structure/structures/ShipwreckPieces.java |
3 + | |
4 + | ResourceKey<LootTable> resourcekey = (ResourceKey) ShipwreckPieces.MARKERS_TO_LOOT.get(s); |
5 + | |
6 + | if (resourcekey != null) { |
7 + | + // CraftBukkit start - ensure block transformation |
8 + | + /* |
9 + | RandomizableContainer.setBlockEntityLootTable(worldaccess, randomsource, blockposition.below(), resourcekey); |
10 + | + */ |
11 + | + setCraftLootTable(worldaccess, blockposition.below(), randomsource, resourcekey); |
12 + | + // CraftBukkit end |
13 + | } |
14 + | |
15 + | } |