mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-20 07:02:32 +01:00
Flip ?: null check
This commit is contained in:
parent
059565b397
commit
fdf7153986
@ -76,7 +76,7 @@ public class ItemEntity extends Entity {
|
||||
@SuppressWarnings("removal")
|
||||
@Deprecated(forRemoval = true)
|
||||
public static void setMergeUpdateOption(@Nullable net.minestom.server.utils.time.UpdateOption mergeUpdateOption) {
|
||||
setMergeDelay(mergeUpdateOption == null ? null : mergeUpdateOption.toDuration());
|
||||
setMergeDelay(mergeUpdateOption != null ? mergeUpdateOption.toDuration() : null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user