Fix some nano bugs
This commit is contained in:
parent
397bcf709f
commit
83e61ed1cd
@ -110,7 +110,7 @@ public class GameCycle extends GameManager
|
|||||||
cancel();
|
cancel();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, 10, 10);
|
}, 40, 10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@ public class Parkour extends SoloGame
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (current + 3 < i)
|
if (current + 3 < i && parkourPlace.CheckpointIndex < i)
|
||||||
{
|
{
|
||||||
getManager().getDamageManager().NewDamageEvent(player, null, null, DamageCause.CUSTOM, 500, false, true, true, getGameType().getName(), "Cheating");
|
getManager().getDamageManager().NewDamageEvent(player, null, null, DamageCause.CUSTOM, 500, false, true, true, getGameType().getName(), "Cheating");
|
||||||
return;
|
return;
|
||||||
|
@ -55,6 +55,7 @@ public class ChallengeReverseRunner extends Challenge
|
|||||||
|
|
||||||
if (!inArena(location))
|
if (!inArena(location))
|
||||||
{
|
{
|
||||||
|
failPlayer(player, true);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -192,7 +192,7 @@ public class Wizards extends ScoredSoloGame
|
|||||||
|
|
||||||
for (Location spawn : _playersTeam.getSpawns())
|
for (Location spawn : _playersTeam.getSpawns())
|
||||||
{
|
{
|
||||||
if (UtilMath.offset2dSquared(spawn, blockLocation) < 9)
|
if (UtilMath.offsetSquared(spawn, blockLocation) < 9)
|
||||||
{
|
{
|
||||||
continue blockLoop;
|
continue blockLoop;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user