We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d768ac3 commit 5c44fabCopy full SHA for 5c44fab
src/main/java/to/us/tf/DeathSpectating/tasks/SpectateTask.java
@@ -141,7 +141,7 @@ public void run()
141
}
142
else if (preventMovement)
143
{
144
- if (deathLocation.distanceSquared(player.getLocation()) > 1)
+ if (deathLocation.distanceSquared(player.getLocation()) > 0)
145
teleportPlayer(deathLocation.setDirection(player.getLocation().getDirection()));
146
player.setFlySpeed(0f);
147
player.setSpectatorTarget(null);
0 commit comments