Skip to content

Commit 2abe8fc

Browse files
committed
chore(util): remove not null annotation
1 parent 39b81c0 commit 2abe8fc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

setup/src/main/java/net/theevilreaper/bounce/setup/util/LoreHelper.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import net.minestom.server.item.Material;
77
import net.theevilreaper.bounce.common.push.PushEntry;
88
import org.jetbrains.annotations.ApiStatus;
9-
import org.jetbrains.annotations.NotNull;
109

1110
import java.util.ArrayList;
1211
import java.util.List;
@@ -20,7 +19,7 @@ public final class LoreHelper {
2019
private static final Component CURRENT_VALUE = Component.text("Current:", NamedTextColor.GRAY).append(Component.space());
2120
private static final Component LEFT_CLICK = miniMessage().deserialize("<yellow>Left-click</yellow><gray>: <green>Increase</green> the value");
2221

23-
public static @NotNull ItemStack getPushValue(@NotNull PushEntry pushEntry) {
22+
public static ItemStack getPushValue(PushEntry pushEntry) {
2423
List<Component> lore = new ArrayList<>();
2524
lore.add(Component.empty());
2625
lore.add(CURRENT_VALUE.append(Component.text(pushEntry.getValue(), NamedTextColor.YELLOW)));
@@ -33,7 +32,6 @@ public final class LoreHelper {
3332
.build();
3433
}
3534

36-
3735
private LoreHelper() {
3836
// Prevent instantiation
3937
}

0 commit comments

Comments
 (0)