From 1c2560c91027d8e10066b3ed21fda26fddb85092 Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 14 Feb 2024 23:46:40 +0000 Subject: [PATCH] Fixed issues when disguising as a friendly creeper --- .../unicopia/entity/mob/FriendlyCreeperEntity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/entity/mob/FriendlyCreeperEntity.java b/src/main/java/com/minelittlepony/unicopia/entity/mob/FriendlyCreeperEntity.java index 01e128d5..785dad5f 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/mob/FriendlyCreeperEntity.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/mob/FriendlyCreeperEntity.java @@ -10,6 +10,7 @@ import org.jetbrains.annotations.Nullable; import com.minelittlepony.unicopia.entity.Creature; import com.minelittlepony.unicopia.entity.Equine; import com.minelittlepony.unicopia.entity.ai.FleeExplosionGoal; +import com.minelittlepony.unicopia.entity.behaviour.Guest; import net.minecraft.block.BlockState; import net.minecraft.client.render.entity.feature.SkinOverlayOwner; @@ -200,7 +201,7 @@ public class FriendlyCreeperEntity extends TameableEntity implements SkinOverlay lastHugTime = hugTime; - if (!isTamed()) { + if (!isTamed() && ((Guest)this).getHost() == null) { if (isConverting()) { if (++hugTime >= 100) { if (!getWorld().isClient) {