From 814f9d773e6c582e749d9594c91224ea1554ed51 Mon Sep 17 00:00:00 2001 From: Stephen <138625055+stephendotgg@users.noreply.github.com> Date: Fri, 8 Dec 2023 23:05:29 +0000 Subject: [PATCH] Ver bump --- src/main/kotlin/gg/flyte/twilight/extension/Location.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/gg/flyte/twilight/extension/Location.kt b/src/main/kotlin/gg/flyte/twilight/extension/Location.kt index 8279e0d..c960ee3 100644 --- a/src/main/kotlin/gg/flyte/twilight/extension/Location.kt +++ b/src/main/kotlin/gg/flyte/twilight/extension/Location.kt @@ -20,13 +20,13 @@ import org.bukkit.inventory.ItemStack * @constructor Creates a new Location object with specified world, coordinates, and optionally, orientation. */ data class Location( - val world: World, + private val _world: World, val x: Number, val y: Number, val z: Number, val yaw: Number = 0, val pitch: Number = 0 -) : Location(world, x.toDouble(), y.toDouble(), z.toDouble(), yaw.toFloat(), pitch.toFloat()) +) : Location(_world, x.toDouble(), y.toDouble(), z.toDouble(), yaw.toFloat(), pitch.toFloat()) /** * Drops the specified [itemStack] at the current location in the world.