aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/GuiRender.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/GuiRender.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/GuiRender.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/GuiRender.kt b/src/main/java/at/hannibal2/skyhanni/utils/GuiRender.kt
index 9ea9f37bb..6d221daa7 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/GuiRender.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/GuiRender.kt
@@ -9,6 +9,7 @@ import net.minecraft.client.renderer.GlStateManager
object GuiRender {
fun Position.renderString(string: String) {
+ if (string == "") return
val textToRender = "§f$string"
GlStateManager.pushMatrix()