diff options
| author | Linnea Gräf <nea@nea.moe> | 2024-04-11 11:25:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-11 11:25:35 +0200 |
| commit | d6128f0dac37768bb295efe3f92c55ba890073de (patch) | |
| tree | 81063a18b66914b0f31571b395b9158bd9b1eb68 /src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java | |
| parent | 4cd130f140655f8741da93b1aa6c7bc7a2ce6d41 (diff) | |
| download | notenoughupdates-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.java | 3 |
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; } |
