aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-04-11 11:25:35 +0200
committerGitHub <noreply@github.com>2024-04-11 11:25:35 +0200
commitd6128f0dac37768bb295efe3f92c55ba890073de (patch)
tree81063a18b66914b0f31571b395b9158bd9b1eb68 /src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java
parent4cd130f140655f8741da93b1aa6c7bc7a2ce6d41 (diff)
downloadnotenoughupdates-d6128f0dac37768bb295efe3f92c55ba890073de.tar.gz
notenoughupdates-d6128f0dac37768bb295efe3f92c55ba890073de.tar.bz2
notenoughupdates-d6128f0dac37768bb295efe3f92c55ba890073de.zip
Add hex overpay warning (#1072)
Co-authored-by: Lulonaut <lulonaut@lulonaut.dev>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java b/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java
index 2878406e..6b597ebe 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java
@@ -66,6 +66,7 @@ import net.minecraft.util.Matrix4f;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import net.minecraftforge.fml.common.Loader;
+import org.jetbrains.annotations.NotNull;
import org.lwjgl.BufferUtils;
import org.lwjgl.input.Mouse;
import org.lwjgl.opengl.GL11;
@@ -2316,7 +2317,7 @@ public class Utils {
return new UUID(most.longValue(), least.longValue());
}
- public static String getOpenChestName() {
+ public static @NotNull String getOpenChestName() {
return SBInfo.getInstance().currentlyOpenChestName;
}