aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/lorenz/mod/dungeon
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-14 11:13:53 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-14 11:13:53 +0200
commitb2108f37f551fba5cb43f4919d69e5db7bb1e44c (patch)
tree04efb1b7815e2e8625ed00810bee711ca2a132a7 /src/main/java/at/lorenz/mod/dungeon
parent26c36ab5f0135b50dbe0a983023d80504e2f66b4 (diff)
downloadskyhanni-b2108f37f551fba5cb43f4919d69e5db7bb1e44c.tar.gz
skyhanni-b2108f37f551fba5cb43f4919d69e5db7bb1e44c.tar.bz2
skyhanni-b2108f37f551fba5cb43f4919d69e5db7bb1e44c.zip
remove old skytils code
Diffstat (limited to 'src/main/java/at/lorenz/mod/dungeon')
-rw-r--r--src/main/java/at/lorenz/mod/dungeon/DungeonHighlightClickedBlocks.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/lorenz/mod/dungeon/DungeonHighlightClickedBlocks.kt b/src/main/java/at/lorenz/mod/dungeon/DungeonHighlightClickedBlocks.kt
index 86f205347..e824eb714 100644
--- a/src/main/java/at/lorenz/mod/dungeon/DungeonHighlightClickedBlocks.kt
+++ b/src/main/java/at/lorenz/mod/dungeon/DungeonHighlightClickedBlocks.kt
@@ -4,7 +4,7 @@ import at.lorenz.mod.events.LorenzChatEvent
import at.lorenz.mod.events.PacketEvent
import at.lorenz.mod.utils.*
import at.lorenz.mod.utils.BlockUtils.getBlockAt
-import at.lorenz.mod.utils.RenderUtils.drawSkytilsColor
+import at.lorenz.mod.utils.RenderUtils.drawColor
import at.lorenz.mod.utils.RenderUtils.drawString
import at.lorenz.mod.LorenzMod
import net.minecraft.init.Blocks
@@ -78,7 +78,7 @@ class DungeonHighlightClickedBlocks {
blocks.removeAll { System.currentTimeMillis() > it.time + 3000 }
blocks.forEach {
- event.drawSkytilsColor(it.position, it.color)
+ event.drawColor(it.position, it.color)
event.drawString(it.position.add(0.5, 0.5, 0.5), it.displayText, true)
}
}