#1412: Fix shipwreck loot tables not being set for BlockTransformers
This commit is contained in:
parent
7189ba6362
commit
16c9767978
@ -0,0 +1,15 @@
|
|||||||
|
--- a/net/minecraft/world/level/levelgen/structure/structures/ShipwreckPieces.java
|
||||||
|
+++ b/net/minecraft/world/level/levelgen/structure/structures/ShipwreckPieces.java
|
||||||
|
@@ -79,7 +79,12 @@
|
||||||
|
ResourceKey<LootTable> resourcekey = (ResourceKey) ShipwreckPieces.MARKERS_TO_LOOT.get(s);
|
||||||
|
|
||||||
|
if (resourcekey != null) {
|
||||||
|
+ // CraftBukkit start - ensure block transformation
|
||||||
|
+ /*
|
||||||
|
RandomizableContainer.setBlockEntityLootTable(worldaccess, randomsource, blockposition.below(), resourcekey);
|
||||||
|
+ */
|
||||||
|
+ setCraftLootTable(worldaccess, blockposition.below(), randomsource, resourcekey);
|
||||||
|
+ // CraftBukkit end
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user