aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt')
-rw-r--r--src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt b/src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt
index 36aa726..956a330 100644
--- a/src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt
+++ b/src/main/kotlin/moe/nea/notenoughupdates/util/MC.kt
@@ -6,6 +6,7 @@ import net.minecraft.util.math.BlockPos
object MC {
inline val player get() = MinecraftClient.getInstance().player
+ inline val world get() = MinecraftClient.getInstance().world
}
val Coordinate.blockPos: BlockPos