Merge remote-tracking branch 'remotes/origin/master' into virizion_speed_builder
This commit is contained in:
commit
bb708911d6
@ -302,6 +302,8 @@ public abstract class Game implements Listener
|
|||||||
public boolean DeadBodiesDeath = true;
|
public boolean DeadBodiesDeath = true;
|
||||||
public int DeadBodiesExpire = -1;
|
public int DeadBodiesExpire = -1;
|
||||||
|
|
||||||
|
public boolean FixSpawnFacing = true;
|
||||||
|
|
||||||
private IPacketHandler _useEntityPacketHandler;
|
private IPacketHandler _useEntityPacketHandler;
|
||||||
private int _deadBodyCount;
|
private int _deadBodyCount;
|
||||||
private NautHashMap<String, Entity> _deadBodies = new NautHashMap<String, Entity>();
|
private NautHashMap<String, Entity> _deadBodies = new NautHashMap<String, Entity>();
|
||||||
|
@ -112,6 +112,8 @@ public class GameTeam
|
|||||||
}
|
}
|
||||||
|
|
||||||
private Location fixFacing(Location loc)
|
private Location fixFacing(Location loc)
|
||||||
|
{
|
||||||
|
if (Host.FixSpawnFacing)
|
||||||
{
|
{
|
||||||
float yaw = UtilAlg.GetYaw(UtilAlg.getTrajectory2d(loc, Host.GetSpectatorLocation()));
|
float yaw = UtilAlg.GetYaw(UtilAlg.getTrajectory2d(loc, Host.GetSpectatorLocation()));
|
||||||
|
|
||||||
@ -119,6 +121,7 @@ public class GameTeam
|
|||||||
|
|
||||||
loc = loc.clone();
|
loc = loc.clone();
|
||||||
loc.setYaw(yaw);
|
loc.setYaw(yaw);
|
||||||
|
}
|
||||||
|
|
||||||
return loc;
|
return loc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user