From 650e0749d1075ad0b64efe1f005a0367c65c1813 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot <noreply+git-bukkit@papermc.io> Date: Sat, 15 Jan 2011 13:43:09 -0800 Subject: [PATCH] Moved org.bukkit.Vector to org.bukkit.util. By: sk89q <the.sk89q@gmail.com> --- paper-api/src/main/java/org/bukkit/Location.java | 2 ++ paper-api/src/main/java/org/bukkit/World.java | 1 + paper-api/src/main/java/org/bukkit/entity/Vehicle.java | 2 +- paper-api/src/main/java/org/bukkit/{ => util}/Vector.java | 4 +++- 4 files changed, 7 insertions(+), 2 deletions(-) rename paper-api/src/main/java/org/bukkit/{ => util}/Vector.java (99%) diff --git a/paper-api/src/main/java/org/bukkit/Location.java b/paper-api/src/main/java/org/bukkit/Location.java index 0fffe00779..972fdaf8fa 100644 --- a/paper-api/src/main/java/org/bukkit/Location.java +++ b/paper-api/src/main/java/org/bukkit/Location.java @@ -1,6 +1,8 @@ package org.bukkit; +import org.bukkit.util.Vector; + /** * Represents a 3-dimensional position in a world */ diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index 1621095b85..105dd7eca4 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/src/main/java/org/bukkit/World.java @@ -3,6 +3,7 @@ package org.bukkit; import org.bukkit.block.Block; import org.bukkit.inventory.ItemStack; +import org.bukkit.util.Vector; import org.bukkit.entity.ItemDrop; import org.bukkit.entity.PoweredMinecart; import org.bukkit.entity.Minecart; diff --git a/paper-api/src/main/java/org/bukkit/entity/Vehicle.java b/paper-api/src/main/java/org/bukkit/entity/Vehicle.java index 1d61891322..36738651ae 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Vehicle.java +++ b/paper-api/src/main/java/org/bukkit/entity/Vehicle.java @@ -1,6 +1,6 @@ package org.bukkit.entity; -import org.bukkit.Vector; +import org.bukkit.util.Vector; /** * Represents a vehicle entity. diff --git a/paper-api/src/main/java/org/bukkit/Vector.java b/paper-api/src/main/java/org/bukkit/util/Vector.java similarity index 99% rename from paper-api/src/main/java/org/bukkit/Vector.java rename to paper-api/src/main/java/org/bukkit/util/Vector.java index 21445c442f..e52b6a4278 100644 --- a/paper-api/src/main/java/org/bukkit/Vector.java +++ b/paper-api/src/main/java/org/bukkit/util/Vector.java @@ -1,6 +1,8 @@ -package org.bukkit; +package org.bukkit.util; import java.util.Random; +import org.bukkit.Location; +import org.bukkit.World; /** * Represents a mutable vector. Because the components of Vectors are mutable,