From e9f412e1bded3ce76be397502fc6ae633dd30caf Mon Sep 17 00:00:00 2001 From: mcchampions <1309635304@qq.com> Date: Wed, 25 Dec 2024 21:40:52 +0800 Subject: [PATCH] Update BlockDataController.java --- .../slimefun4/storage/controller/BlockDataController.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller/BlockDataController.java b/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller/BlockDataController.java index a86f272dba..264aa102d4 100644 --- a/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller/BlockDataController.java +++ b/src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller/BlockDataController.java @@ -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()