Skip to content

Commit

Permalink
Ver bump
Browse files Browse the repository at this point in the history
  • Loading branch information
stephendotgg committed Dec 8, 2023
1 parent 4178271 commit 814f9d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/gg/flyte/twilight/extension/Location.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 814f9d7

Please sign in to comment.