From 101a8ed1e4e4f37e7d48f42e9521dd6e356c2ad9 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Thu, 20 Jun 2024 21:33:33 +0200 Subject: [PATCH] Remove Jetbrains Annotation --- .../steamwar/bungeecore/network/handlers/EloPlayerHandler.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/de/steamwar/bungeecore/network/handlers/EloPlayerHandler.java b/src/de/steamwar/bungeecore/network/handlers/EloPlayerHandler.java index acf40f73..74e1aa49 100644 --- a/src/de/steamwar/bungeecore/network/handlers/EloPlayerHandler.java +++ b/src/de/steamwar/bungeecore/network/handlers/EloPlayerHandler.java @@ -31,7 +31,6 @@ import lombok.RequiredArgsConstructor; import net.kyori.adventure.text.Component; import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer; import net.kyori.adventure.title.Title; -import org.jetbrains.annotations.NotNull; import java.time.Duration; import java.util.*; @@ -190,7 +189,7 @@ public class EloPlayerHandler extends PacketHandler { } } - private static @NotNull IntFunction getEmblemTransition(String oldEmblem, String newEmblem, String arrowColor) { + private static IntFunction getEmblemTransition(String oldEmblem, String newEmblem, String arrowColor) { String finalOldEmblem = (oldEmblem.isEmpty() ? "/" : oldEmblem).trim(); String finalNewEmblem = (newEmblem.isEmpty() ? "/" : newEmblem).trim();