mirror of
https://github.com/bloodmc/GriefDefender.git
synced 2025-01-21 21:41:31 +01:00
Fix teleport cancelled message showing after successful teleport. (#72)
This commit is contained in:
parent
699cc3bb97
commit
f2a13b9539
@ -90,8 +90,8 @@ public void run() {
|
||||
if (playerData.teleportDelay > 0) {
|
||||
final int delay = playerData.teleportDelay - 1;
|
||||
if (delay == 0) {
|
||||
player.teleport(playerData.teleportLocation);
|
||||
playerData.teleportDelay = 0;
|
||||
player.teleport(playerData.teleportLocation);
|
||||
playerData.teleportLocation = null;
|
||||
playerData.teleportSourceLocation = null;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user