From 7c505ecc175de5053443263ee04f025e9afff8e0 Mon Sep 17 00:00:00 2001 From: themode Date: Thu, 4 Mar 2021 16:43:10 +0100 Subject: [PATCH] Do not deprecate Entity#setInstance --- src/main/java/net/minestom/server/entity/Entity.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/net/minestom/server/entity/Entity.java b/src/main/java/net/minestom/server/entity/Entity.java index 9e9566b7b..0b8533c03 100644 --- a/src/main/java/net/minestom/server/entity/Entity.java +++ b/src/main/java/net/minestom/server/entity/Entity.java @@ -851,9 +851,7 @@ public class Entity implements Viewable, EventHandler, DataContainer, Permission * @param instance the new instance of the entity * @throws NullPointerException if {@code instance} is null * @throws IllegalStateException if {@code instance} has not been registered in {@link InstanceManager} - * @deprecated Use {@link Entity#setInstance(Instance, Position)} instead. */ - @Deprecated public void setInstance(@NotNull Instance instance) { setInstance(instance, this.position); }