Fixed unable to break the crystal heart after being placed

This commit is contained in:
Sollace 2022-08-31 23:56:43 +02:00
parent 1e20dd908f
commit a73a7af43c
2 changed files with 3 additions and 8 deletions

View file

@ -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) { }

View file

@ -180,8 +180,8 @@ public class FloatingArtefactEntity extends Entity {
}
@Override
public boolean isCollidable() {
return true;
public boolean canHit() {
return false;
}
@Override