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() {
45
45
);
46
46
}
47
47
48
- if (getConfiguration ().PROPERTIES . ENABLE .getNotNull ()) {
48
+ if (getConfiguration ().UPDATE_CHECKER .getNotNull ()) {
49
49
log ("开始检查更新,可能需要一小段时间..." );
50
50
log (" 如不希望检查更新,可在配置文件中关闭。" );
51
51
getScheduler ().runAsync (() -> this .core .checkUpdate (getDescription ().getVersion ()));
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public void onEnable() {
52
52
);
53
53
}
54
54
55
- if (getConfiguration ().PROPERTIES . ENABLE .getNotNull ()) {
55
+ if (getConfiguration ().UPDATE_CHECKER .getNotNull ()) {
56
56
getLogger ().info ("开始检查更新,可能需要一小段时间..." );
57
57
getLogger ().info (" 如不希望检查更新,可在配置文件中关闭。" );
58
58
ProxyServer .getInstance ().getScheduler ().runAsync (
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public void starting(StartingEngineEvent<Server> e) {
74
74
);
75
75
}
76
76
77
- if (getConfiguration ().PROPERTIES . ENABLE .getNotNull ()) {
77
+ if (getConfiguration ().UPDATE_CHECKER .getNotNull ()) {
78
78
getLogger ().info ("开始检查更新,可能需要一小段时间..." );
79
79
getLogger ().info (" 如不希望检查更新,可在配置文件中关闭。" );
80
80
Sponge .asyncScheduler ().executor (pluginContainer )
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public void onInitialize(ProxyInitializeEvent event) {
78
78
);
79
79
}
80
80
81
- if (getConfiguration ().PROPERTIES . ENABLE .getNotNull ()) {
81
+ if (getConfiguration ().UPDATE_CHECKER .getNotNull ()) {
82
82
getLogger ().info ("开始检查更新,可能需要一小段时间..." );
83
83
getLogger ().info (" 如不希望检查更新,可在配置文件中关闭。" );
84
84
server .getScheduler ().buildTask (this , () -> this .core .checkUpdate (getVersion ())).schedule ();
You can’t perform that action at this time.
0 commit comments