9.0 | small code changes
This commit is contained in:
@@ -108,9 +108,11 @@ public final class Main extends JavaPlugin {
|
||||
LanguagesCreate.langCreate();
|
||||
SelectLibConfig.onSelect();
|
||||
SelectLibMsg.onSelect(prefix);
|
||||
UpdateAPI.onUpdateCheck(plugin, prefix, spigot, spigotID, discord);
|
||||
if (!Util.getSnapshot()){
|
||||
UpdateAPI.onUpdateCheck(plugin, prefix, spigot, spigotID, discord);
|
||||
Metrics.Bstats(plugin, bstatsID);
|
||||
}
|
||||
|
||||
Metrics.Bstats(plugin, bstatsID);
|
||||
Bukkit.getServer().getPluginManager().registerEvents(new JoinEvent(), plugin);
|
||||
T2CodeTemplate.onLoadFooter(prefix, long_);
|
||||
}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package net.t2code.lib;
|
||||
|
||||
public class Util {
|
||||
private static Boolean Snapshot = true;
|
||||
private static Boolean Snapshot = false;
|
||||
|
||||
private static String Prefix = "§8[§4T2Code§5Lib§8]";
|
||||
private static Integer SpigotID = 96388;
|
||||
|
Reference in New Issue
Block a user