Fixed CraftWorld.spawnArrow() not setting X, Y, Z positions correctly.
Dieser Commit ist enthalten in:
Ursprung
5993b21b88
Commit
dda7ca0059
@ -139,7 +139,7 @@ public class CraftWorld implements World {
|
|||||||
public Arrow spawnArrow(Location loc, Vector velocity, float speed,
|
public Arrow spawnArrow(Location loc, Vector velocity, float speed,
|
||||||
float spread) {
|
float spread) {
|
||||||
EntityArrow arrow = new EntityArrow(world);
|
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);
|
world.a(arrow);
|
||||||
arrow.a(velocity.getX(), velocity.getY(), velocity.getZ(), speed, spread);
|
arrow.a(velocity.getX(), velocity.getY(), velocity.getZ(), speed, spread);
|
||||||
return new CraftArrow(world.getServer(), arrow);
|
return new CraftArrow(world.getServer(), arrow);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren