mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-12 18:31:41 +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
|
||||
public final boolean removeViewer(@NotNull Player player) {
|
||||
public boolean removeViewer(@NotNull Player player) {
|
||||
synchronized (this.entityTypeLock) {
|
||||
return removeViewer0(player);
|
||||
}
|
||||
@ -391,7 +391,7 @@ public class Entity implements Viewable, EventHandler, DataContainer, Permission
|
||||
*
|
||||
* @param entityType the new entity type
|
||||
*/
|
||||
public final void switchEntityType(@NotNull EntityType entityType) {
|
||||
public void switchEntityType(@NotNull EntityType entityType) {
|
||||
synchronized (entityTypeLock) {
|
||||
this.entityType = entityType;
|
||||
this.metadata = new Metadata(this);
|
||||
|
Loading…
Reference in New Issue
Block a user