From a73a7af43c2d7da09f8f24721515efa84549cf64 Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 31 Aug 2022 23:56:43 +0200 Subject: [PATCH] Fixed unable to break the crystal heart after being placed --- .../minelittlepony/unicopia/entity/ButterflyEntity.java | 7 +------ .../unicopia/entity/FloatingArtefactEntity.java | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/minelittlepony/unicopia/entity/ButterflyEntity.java b/src/main/java/com/minelittlepony/unicopia/entity/ButterflyEntity.java index e17d2aa7..deb7f9ba 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/ButterflyEntity.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/ButterflyEntity.java @@ -76,7 +76,7 @@ public class ButterflyEntity extends AmbientEntity { @Override protected Entity.MoveEffect getMoveEffect() { - return Entity.MoveEffect.EVENTS; + return Entity.MoveEffect.NONE; } @Override @@ -102,11 +102,6 @@ public class ButterflyEntity extends AmbientEntity { return false; } - @Override - public boolean isCollidable() { - return true; - } - @Override protected void pushAway(Entity entity) { } diff --git a/src/main/java/com/minelittlepony/unicopia/entity/FloatingArtefactEntity.java b/src/main/java/com/minelittlepony/unicopia/entity/FloatingArtefactEntity.java index f0fec37d..9533a1c4 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/FloatingArtefactEntity.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/FloatingArtefactEntity.java @@ -180,8 +180,8 @@ public class FloatingArtefactEntity extends Entity { } @Override - public boolean isCollidable() { - return true; + public boolean canHit() { + return false; } @Override