Mineplex2018-withcommit/Plugins/Mineplex.Minecraft.Game.Cla...
Nate Mortensen e803df6884 Fix Blink ability with Spectators
When using blink, players are teleported away from other players
within a one block radius of them.  However, if a player happens
to have the exact same position(only can occur when a player is
spectating them), division by 0 occurs, resulting in the player
being teleported to NaN, as any operation with NaN is also NaN.

To fix this, Blink now ignores players in Spectator mode.  This
change could also address the hypothetical scenario where a
spectator is within the one block radius and results in a blinking
player getting teleported in a weird direction.
2017-01-11 15:07:48 -06:00
..
src/mineplex/minecraft/game/classcombat Fix Blink ability with Spectators 2017-01-11 15:07:48 -06:00
pom.xml Use Maven for Compilation 2016-01-20 11:20:58 +11:00