Players now look at the middle of the middle block instead of the corner.

This commit is contained in:
Virizion 2015-12-03 21:27:10 -05:00
parent 465f8c28f6
commit efbabb1519

View File

@ -51,7 +51,6 @@ import org.bukkit.event.player.PlayerMoveEvent;
import org.bukkit.event.player.PlayerPickupItemEvent;
import org.bukkit.event.player.PlayerQuitEvent;
import org.bukkit.event.world.StructureGrowEvent;
import org.bukkit.util.Vector;
public class SpeedBuilder extends SoloGame
{
@ -131,7 +130,7 @@ public class SpeedBuilder extends SoloGame
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)));
}
}