From b2108f37f551fba5cb43f4919d69e5db7bb1e44c Mon Sep 17 00:00:00 2001 From: Lorenz Date: Thu, 14 Jul 2022 11:13:53 +0200 Subject: remove old skytils code --- src/main/java/at/lorenz/mod/dungeon/DungeonHighlightClickedBlocks.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/lorenz/mod/dungeon') 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) } } -- cgit