mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-27 11:38:03 +01:00
Allow null target in EntityCreature#setTarget
This commit is contained in:
parent
c52b86822b
commit
edab21baa6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user