You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -189,15 +206,15 @@ index f096fbe48d8cc70e3749f48bc9972def42b0068d..f3926ee149e5e42d48e33759202d8297
189
206
TranslatableComponent chatmessage;
190
207
191
208
if (player.getGameProfile().getName().equalsIgnoreCase(s)) {
192
-
@@ -502,6 +555,7 @@ public abstract class PlayerList {
209
+
@@ -502,6 +559,7 @@ public abstract class PlayerList {
193
210
194
211
protected void save(ServerPlayer player) {
195
212
if (!player.getBukkitEntity().isPersistent()) return; // CraftBukkit
196
213
+ if (!player.didPlayerJoinEvent) return; // Paper - If we never fired PJE, we disconnected during login. Data has not changed, and additionally, our saved vehicle is not loaded! If we save now, we will lose our vehicle (CraftBukkit bug)
@@ -556,6 +556,7 @@ public abstract class PlayerList {
361
+
@@ -560,6 +560,7 @@ public abstract class PlayerList {
362
362
protected void save(ServerPlayer player) {
363
363
if (!player.getBukkitEntity().isPersistent()) return; // CraftBukkit
364
364
if (!player.didPlayerJoinEvent) return; // Paper - If we never fired PJE, we disconnected during login. Data has not changed, and additionally, our saved vehicle is not loaded! If we save now, we will lose our vehicle (CraftBukkit bug)
365
365
+ player.lastSave = MinecraftServer.currentTick; // Paper
0 commit comments