Skip to content

Commit

Permalink
Update BlockDataController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchampions committed Dec 25, 2024
1 parent a18b08c commit e9f412e
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,6 @@ private void loadLoadedChunks() {
* @param forceSavePeriod 强制保存周期
*/
public void initDelayedSaving(Plugin p, int delayedSecond, int forceSavePeriod) {
if (delayedSecond < 1 || forceSavePeriod < 1) {
throw new IllegalArgumentException("save period second must be greater than 0!");
}
enableDelayedSaving = true;
this.delayedSecond = delayedSecond;
looperTask = Bukkit.getScheduler()
Expand Down

0 comments on commit e9f412e

Please sign in to comment.