mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +01:00
Removed redundant check
This commit is contained in:
parent
92cbc4727c
commit
a5a370783d
@ -1624,10 +1624,6 @@ public class Entity implements Viewable, Tickable, EventHandler<EntityEvent>, Da
|
||||
* @param cooldown custom cooldown for position synchronization.
|
||||
*/
|
||||
public void setCustomSynchronizationCooldown(@Nullable Duration cooldown) {
|
||||
if (cooldown == null) {
|
||||
this.customSynchronizationCooldown = null;
|
||||
return;
|
||||
}
|
||||
this.customSynchronizationCooldown = cooldown;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user