Do not deprecate Entity#setInstance

This commit is contained in:
themode 2021-03-04 16:43:10 +01:00
parent 368faa72b9
commit 7c505ecc17

View File

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