9
0
mirror of https://github.com/Xiao-MoMi/Custom-Nameplates.git synced 2025-12-30 12:19:12 +00:00
This commit is contained in:
Xiao-MoMi
2023-04-04 22:51:26 +08:00
parent 62b9ad7b95
commit c38463fed6
263 changed files with 7065 additions and 124 deletions

View File

@@ -1,3 +1,20 @@
/*
* Copyright (C) <2022> <XiaoMoMi>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package net.momirealms.customnameplates.helper;
import net.momirealms.customnameplates.CustomNameplates;
@@ -122,6 +139,6 @@ public class VersionHelper {
}
public boolean isLatest() {
return isLatest;
return isLatest || !ConfigManager.checkUpdate;
}
}