From 44bde9fd167bdd307b671e7188f7f08dfa42eeb2 Mon Sep 17 00:00:00 2001 From: Sollace Date: Fri, 29 Sep 2023 21:28:07 +0100 Subject: [PATCH] Fix mixin --- .../com/minelittlepony/unicopia/mixin/MixinBoatEntity.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/java/com/minelittlepony/unicopia/mixin/MixinBoatEntity.java b/src/main/java/com/minelittlepony/unicopia/mixin/MixinBoatEntity.java index 392cf967..17feb4fa 100644 --- a/src/main/java/com/minelittlepony/unicopia/mixin/MixinBoatEntity.java +++ b/src/main/java/com/minelittlepony/unicopia/mixin/MixinBoatEntity.java @@ -37,13 +37,6 @@ abstract class MixinBoatEntity extends Entity implements LavaAffine { return isLavaAffine() ? FluidTags.LAVA : FluidTags.WATER; } - @Inject(method = "copyEntityData", at = @At("HEAD")) - private void onCopyEntityData(Entity entity, CallbackInfo info) { - if (entity instanceof LavaAffine affine) { - affine.setLavaAffine(isLavaAffine()); - } - } - @Inject(method = "writeCustomDataToNbt", at = @At("HEAD")) private void onWriteCustomDataToNbt(NbtCompound nbt, CallbackInfo info) { nbt.putBoolean("IsLavaAffine", isLavaAffine());