Players now look at the middle of the middle block instead of the corner.
This commit is contained in:
parent
465f8c28f6
commit
efbabb1519
@ -51,7 +51,6 @@ import org.bukkit.event.player.PlayerMoveEvent;
|
|||||||
import org.bukkit.event.player.PlayerPickupItemEvent;
|
import org.bukkit.event.player.PlayerPickupItemEvent;
|
||||||
import org.bukkit.event.player.PlayerQuitEvent;
|
import org.bukkit.event.player.PlayerQuitEvent;
|
||||||
import org.bukkit.event.world.StructureGrowEvent;
|
import org.bukkit.event.world.StructureGrowEvent;
|
||||||
import org.bukkit.util.Vector;
|
|
||||||
|
|
||||||
public class SpeedBuilder extends SoloGame
|
public class SpeedBuilder extends SoloGame
|
||||||
{
|
{
|
||||||
@ -131,7 +130,7 @@ public class SpeedBuilder extends SoloGame
|
|||||||
|
|
||||||
for (Location loc : GetTeamList().get(0).GetSpawns())
|
for (Location loc : GetTeamList().get(0).GetSpawns())
|
||||||
{
|
{
|
||||||
loc.setDirection(UtilAlg.getTrajectory(loc, _buildMiddle));
|
loc.setDirection(UtilAlg.getTrajectory(loc, _buildMiddle.clone().add(0.5, 0, 0.5)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user