mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-27 18:38:14 -05:00
Update #46 - Fix pointer lock issue (sorta)
This commit is contained in:
@ -86,6 +86,11 @@ public class EaglerIntegratedServerWorker {
|
||||
}
|
||||
}
|
||||
}
|
||||
if(ServerPlatformSingleplayer.isTabAboutToCloseWASM() && !isServerStopped()) {
|
||||
logger.info("Autosaving worlds because the tab is about to close!");
|
||||
currentProcess.getConfigurationManager().saveAllPlayerData();
|
||||
currentProcess.saveAllWorlds(false);
|
||||
}
|
||||
}
|
||||
|
||||
public static void tick() {
|
||||
|
Reference in New Issue
Block a user