Skip to content

Commit 1746fcf

Browse files
committed
add initial delay to prevent potential instant unload
1 parent 1de026e commit 1746fcf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/volmit/adapt/api/world/AdaptPlayer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class AdaptPlayer extends TickedObject {
5151
private long lastloc;
5252
private Vector velocity;
5353
private Location lastpos;
54-
private long lastSeen = -1;
54+
private long lastSeen;
5555

5656
public AdaptPlayer(Player p) {
5757
super("players", p.getUniqueId().toString(), 50);
@@ -64,6 +64,7 @@ public AdaptPlayer(Player p) {
6464
advancementHandler = new AdvancementHandler(this);
6565
speed = new RollingSequence(7);
6666
lastloc = M.ms();
67+
lastSeen = M.ms();
6768
velocity = new Vector();
6869
}
6970

0 commit comments

Comments
 (0)