File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
bukkit/src/main/java/cc/carm/plugin/minesql
bungee/src/main/java/cc/carm/plugin/minesql
sponge8/src/main/java/cc/carm/plugin/minesql
velocity/src/main/java/cc/carm/plugin/minesql Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ protected boolean initialize() {
4545 );
4646 }
4747
48- if (getConfiguration ().PROPERTIES . ENABLE .getNotNull ()) {
48+ if (getConfiguration ().UPDATE_CHECKER .getNotNull ()) {
4949 log ("开始检查更新,可能需要一小段时间..." );
5050 log (" 如不希望检查更新,可在配置文件中关闭。" );
5151 getScheduler ().runAsync (() -> this .core .checkUpdate (getDescription ().getVersion ()));
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public void onEnable() {
5252 );
5353 }
5454
55- if (getConfiguration ().PROPERTIES . ENABLE .getNotNull ()) {
55+ if (getConfiguration ().UPDATE_CHECKER .getNotNull ()) {
5656 getLogger ().info ("开始检查更新,可能需要一小段时间..." );
5757 getLogger ().info (" 如不希望检查更新,可在配置文件中关闭。" );
5858 ProxyServer .getInstance ().getScheduler ().runAsync (
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public void starting(StartingEngineEvent<Server> e) {
7474 );
7575 }
7676
77- if (getConfiguration ().PROPERTIES . ENABLE .getNotNull ()) {
77+ if (getConfiguration ().UPDATE_CHECKER .getNotNull ()) {
7878 getLogger ().info ("开始检查更新,可能需要一小段时间..." );
7979 getLogger ().info (" 如不希望检查更新,可在配置文件中关闭。" );
8080 Sponge .asyncScheduler ().executor (pluginContainer )
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public void onInitialize(ProxyInitializeEvent event) {
7878 );
7979 }
8080
81- if (getConfiguration ().PROPERTIES . ENABLE .getNotNull ()) {
81+ if (getConfiguration ().UPDATE_CHECKER .getNotNull ()) {
8282 getLogger ().info ("开始检查更新,可能需要一小段时间..." );
8383 getLogger ().info (" 如不希望检查更新,可在配置文件中关闭。" );
8484 server .getScheduler ().buildTask (this , () -> this .core .checkUpdate (getVersion ())).schedule ();
You can’t perform that action at this time.
0 commit comments