From 0a4e48bb170bd298d565935c2cf28a35e9d794cb Mon Sep 17 00:00:00 2001 From: levtus Date: Tue, 14 Nov 2023 07:30:07 -0600 Subject: [PATCH] edit SeatBlockMixin round 2 --- .../interiors/foundation/mixin/SeatBlockMixin.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/sudolev/interiors/foundation/mixin/SeatBlockMixin.java b/src/main/java/com/sudolev/interiors/foundation/mixin/SeatBlockMixin.java index 8dfa787..947cedd 100644 --- a/src/main/java/com/sudolev/interiors/foundation/mixin/SeatBlockMixin.java +++ b/src/main/java/com/sudolev/interiors/foundation/mixin/SeatBlockMixin.java @@ -3,12 +3,14 @@ import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.Redirect; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; import org.spongepowered.asm.mixin.injection.callback.LocalCapture; import com.simibubi.create.content.contraptions.components.actors.SeatBlock; import com.simibubi.create.content.contraptions.components.actors.SeatEntity; +import com.sudolev.interiors.content.block.seat.BigChairBlock; import com.sudolev.interiors.content.entity.BigSeatEntity; import net.minecraft.core.BlockPos; @@ -25,12 +27,12 @@ private static void sitDown(Level world, BlockPos pos, CallbackInfoReturnable