diff --git a/common/src/main/java/net/blay09/mods/waystones/mixin/JigsawPlacementPlacerMixin.java b/common/src/main/java/net/blay09/mods/waystones/mixin/JigsawPlacementPlacerMixin.java index 79448aa7..2acf34d3 100644 --- a/common/src/main/java/net/blay09/mods/waystones/mixin/JigsawPlacementPlacerMixin.java +++ b/common/src/main/java/net/blay09/mods/waystones/mixin/JigsawPlacementPlacerMixin.java @@ -31,7 +31,7 @@ public class JigsawPlacementPlacerMixin { return WaystonesConfig.getActive().worldGen.spawnInVillages == WaystonesConfigData.VillageWaystoneGeneration.FREQUENT; } - @ModifyArg(method = "tryPlacingChildren(Lnet/minecraft/world/level/levelgen/structure/PoolElementStructurePiece;Lorg/apache/commons/lang3/mutable/MutableObject;IZLnet/minecraft/world/level/LevelHeightAccessor;Lnet/minecraft/world/level/levelgen/RandomState;Lnet/minecraft/world/level/levelgen/structure/pools/alias/PoolAliasLookup;Lnet/minecraft/world/level/levelgen/structure/templatesystem/LiquidSettings;)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/core/Registry;getHolder(Lnet/minecraft/resources/ResourceKey;)Ljava/util/Optional;")) + @ModifyArg(method = "tryPlacingChildren(Lnet/minecraft/world/level/levelgen/structure/PoolElementStructurePiece;Lorg/apache/commons/lang3/mutable/MutableObject;IZLnet/minecraft/world/level/LevelHeightAccessor;Lnet/minecraft/world/level/levelgen/RandomState;Lnet/minecraft/world/level/levelgen/structure/pools/alias/PoolAliasLookup;Lnet/minecraft/world/level/levelgen/structure/templatesystem/LiquidSettings;)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/core/Registry;get(Lnet/minecraft/resources/ResourceKey;)Ljava/util/Optional;")) private ResourceKey forceWaystonePool(ResourceKey resourceKey) { if (!waystones$shouldForceWaystone() || waystones$hasWaystone) { return resourceKey;