[ci skip] Enhance javadoc for World#setAutoSave method (#12088)

Clarify that disabling auto-save does not stop all saving operations. This addition explicitly mentions that the world will still save on shutdown and explains the intended purpose of the method.
This commit is contained in:
David
2025-02-10 23:07:46 +01:00
committed by GitHub
parent fa5824e4c8
commit 3bd69f2e56

View File

@@ -2781,6 +2781,8 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
*
* @param value true if the world should automatically save, otherwise
* false
* @apiNote This does not disable saving entirely, the world will still be saved on shutdown.<br>
* The intended use of this method is to disable the periodical autosave by the game.
*/
public void setAutoSave(boolean value);