Fix color not being reset after block highlights

This commit is contained in:
nea
2023-05-03 20:02:10 +02:00
parent f844feba1b
commit e9f9ad1ac0
4 changed files with 25 additions and 13 deletions

View File

@@ -1,7 +1,12 @@
package moe.nea.notenoughupdates.util
import io.github.moulberry.repo.data.Coordinate
import net.minecraft.client.MinecraftClient
import net.minecraft.util.math.BlockPos
object MC {
inline val player get() = MinecraftClient.getInstance().player
}
val Coordinate.blockPos: BlockPos
get() = BlockPos(x, y, z)