mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-14 19:32:17 +01:00
Remove final methods
This commit is contained in:
parent
061dabbe4c
commit
55179082e9
@ -356,7 +356,7 @@ public class Entity implements Viewable, EventHandler, DataContainer, Permission
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public final boolean removeViewer(@NotNull Player player) {
|
public boolean removeViewer(@NotNull Player player) {
|
||||||
synchronized (this.entityTypeLock) {
|
synchronized (this.entityTypeLock) {
|
||||||
return removeViewer0(player);
|
return removeViewer0(player);
|
||||||
}
|
}
|
||||||
@ -391,7 +391,7 @@ public class Entity implements Viewable, EventHandler, DataContainer, Permission
|
|||||||
*
|
*
|
||||||
* @param entityType the new entity type
|
* @param entityType the new entity type
|
||||||
*/
|
*/
|
||||||
public final void switchEntityType(@NotNull EntityType entityType) {
|
public void switchEntityType(@NotNull EntityType entityType) {
|
||||||
synchronized (entityTypeLock) {
|
synchronized (entityTypeLock) {
|
||||||
this.entityType = entityType;
|
this.entityType = entityType;
|
||||||
this.metadata = new Metadata(this);
|
this.metadata = new Metadata(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user