Fix missing Deprecated annotation

This commit is contained in:
Németh Noel 2021-06-30 13:25:24 +02:00
parent 7ff5173e03
commit d735ba5fff

View File

@ -74,6 +74,7 @@ public class ItemEntity extends Entity {
* @deprecated Replaced by {@link #setMergeDelay(Duration)}
*/
@SuppressWarnings("removal")
@Deprecated(forRemoval = true)
public static void setMergeUpdateOption(@Nullable net.minestom.server.utils.time.UpdateOption mergeUpdateOption) {
setMergeDelay(mergeUpdateOption == null ? null : mergeUpdateOption.toDuration());
}