summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorsk89q <the.sk89q@gmail.com>2011-03-25 00:52:50 -0700
committersk89q <the.sk89q@gmail.com>2011-03-25 12:24:18 -0700
commit6fc4d9dcfe7a1eeeefd219aeee4a07f964b391d7 (patch)
treeabed15e787859d4614be209fdbaac68b155ab084 /src/main/java/org
parent95c08f854f162dd552987506fd927e0b56cc5146 (diff)
downloadcraftbukkit-6fc4d9dcfe7a1eeeefd219aeee4a07f964b391d7.tar
craftbukkit-6fc4d9dcfe7a1eeeefd219aeee4a07f964b391d7.tar.gz
craftbukkit-6fc4d9dcfe7a1eeeefd219aeee4a07f964b391d7.tar.lz
craftbukkit-6fc4d9dcfe7a1eeeefd219aeee4a07f964b391d7.tar.xz
craftbukkit-6fc4d9dcfe7a1eeeefd219aeee4a07f964b391d7.zip
Fixed CraftWorld.getSpawnLocation() not return the exact spawn location.
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftWorld.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
index 2fab5cdc..78331aac 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
@@ -67,7 +67,7 @@ public class CraftWorld implements World {
public Location getSpawnLocation() {
ChunkCoordinates spawn = world.l();
- return new Location(this, spawn.a, world.e(spawn.a, spawn.c), spawn.c);
+ return new Location(this, spawn.a, spawn.b, spawn.c);
}
public boolean setSpawnLocation(int x, int y, int z) {