Skip to content

Commit 9120df5

Browse files
So I may have forgotten that name doesn't work for obfuscated code :3
1 parent 62b15a6 commit 9120df5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/io/github/real_septicake/compressed_pollution/mixin/PistonFluidDestructionMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public PistonFluidDestructionMixin(Properties p_54695_) {
2121
}
2222

2323
@Inject(method = "moveBlocks", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/level/Level;gameEvent(Lnet/minecraft/world/level/gameevent/GameEvent;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/gameevent/GameEvent$Context;)V", shift = At.Shift.AFTER))
24-
private void polluteOnFluidDestroy(Level level, BlockPos pos, Direction dir, boolean extending, CallbackInfoReturnable<Boolean> cir, @Local(name = "blockpos2") BlockPos blockpos2, @Local(name = "blockstate1") BlockState state) {
24+
private void polluteOnFluidDestroy(Level level, BlockPos pos, Direction dir, boolean extending, CallbackInfoReturnable<Boolean> cir, @Local(ordinal = 2) BlockPos blockpos2, @Local(ordinal = 0) BlockState state) {
2525
if(state.getFluidState().isSource() && !level.isClientSide()) {
2626
BuiltInResolvers.getFluidResolver().fireEvent(
2727
(ServerLevel) level, state.getFluidState().getType(),

0 commit comments

Comments
 (0)