Skip to content

Commit

Permalink
fix: mixin fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zepalesque committed Jun 6, 2024
1 parent 187477d commit b86df59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@Mixin(BronzeBossRoom.class)
public class BronzeBossMixin {

@WrapOperation(method = "makeSettings", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;<init>()V"))
@WrapOperation(method = "makeSettings", at = @At(value = "NEW", target = "()Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;"))
private static StructurePlaceSettings redux$makeSettings(Operation<StructurePlaceSettings> original) {
return original.call().addProcessor(ReduxDungeonProcessors.BRONZE_LOCKED);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@Mixin(BronzeDungeonRoom.class)
public class BronzeDungeonMixin {

@WrapOperation(method = "makeSettings", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;<init>()V"))
@WrapOperation(method = "makeSettings", at = @At(value = "NEW", target = "()Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;"))
private static StructurePlaceSettings redux$makeSettings(Operation<StructurePlaceSettings> original) {
return original.call().addProcessor(ReduxDungeonProcessors.BRONZE_BLOCKS).addProcessor(ReduxDungeonProcessors.BRONZE_TRAPS);
}
Expand Down

0 comments on commit b86df59

Please sign in to comment.