summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit
diff options
context:
space:
mode:
authorsk89q <the.sk89q@gmail.com>2011-01-10 14:13:44 -0800
committersk89q <the.sk89q@gmail.com>2011-01-10 14:14:26 -0800
commitdda7ca0059e91dff0cd2063f5410d0947167e7bd (patch)
treedcd21593cf7a5217991ace61b698c36b26da4eec /src/main/java/org/bukkit
parent5993b21b88eaa334987fe1f7bacd3ac1bfc84f03 (diff)
downloadcraftbukkit-dda7ca0059e91dff0cd2063f5410d0947167e7bd.tar
craftbukkit-dda7ca0059e91dff0cd2063f5410d0947167e7bd.tar.gz
craftbukkit-dda7ca0059e91dff0cd2063f5410d0947167e7bd.tar.lz
craftbukkit-dda7ca0059e91dff0cd2063f5410d0947167e7bd.tar.xz
craftbukkit-dda7ca0059e91dff0cd2063f5410d0947167e7bd.zip
Fixed CraftWorld.spawnArrow() not setting X, Y, Z positions correctly.
Diffstat (limited to 'src/main/java/org/bukkit')
-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 8d5aa100..28deed20 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
@@ -139,7 +139,7 @@ public class CraftWorld implements World {
public Arrow spawnArrow(Location loc, Vector velocity, float speed,
float spread) {
EntityArrow arrow = new EntityArrow(world);
- arrow.c(loc.getX(), loc.getY(), loc.getZ());
+ arrow.c(loc.getX(), loc.getY(), loc.getZ(), 0, 0);
world.a(arrow);
arrow.a(velocity.getX(), velocity.getY(), velocity.getZ(), speed, spread);
return new CraftArrow(world.getServer(), arrow);