mirror of
https://github.com/Minestom/Minestom.git
synced 2025-03-02 11:21:15 +01:00
Do not deprecate Entity#setInstance
This commit is contained in:
parent
368faa72b9
commit
7c505ecc17
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user