diff --git a/src/main/java/net/minestom/server/entity/EntityCreature.java b/src/main/java/net/minestom/server/entity/EntityCreature.java index d1f20662c..e765a748b 100644 --- a/src/main/java/net/minestom/server/entity/EntityCreature.java +++ b/src/main/java/net/minestom/server/entity/EntityCreature.java @@ -236,7 +236,7 @@ public abstract class EntityCreature extends LivingEntity implements NavigableEn * * @param target the new entity target */ - public void setTarget(@NotNull Entity target) { + public void setTarget(@Nullable Entity target) { this.target = target; }