9.0 #1

Merged
JaTiTV merged 13 commits from CloseInventory into main 2021-12-31 16:19:31 +00:00
5 changed files with 7 additions and 5 deletions
Showing only changes of commit c171a1674d - Show all commits

View File

@ -1,7 +1,7 @@
<component name="ArtifactManager"> <component name="ArtifactManager">
<artifact type="jar" name="T2CodeLib_9.0_Snapshot_2"> <artifact type="jar" name="T2CodeLib_9.0">
<output-path>$PROJECT_DIR$/../../Plugins/T2CodeLib/.jar</output-path> <output-path>$PROJECT_DIR$/../../Plugins/T2CodeLib/.jar</output-path>
<root id="archive" name="T2CodeLib_9.0_Snapshot_2.jar"> <root id="archive" name="T2CodeLib_9.0.jar">
<element id="module-output" name="T2CodeLib" /> <element id="module-output" name="T2CodeLib" />
</root> </root>
</artifact> </artifact>

View File

@ -108,9 +108,11 @@ public final class Main extends JavaPlugin {
LanguagesCreate.langCreate(); LanguagesCreate.langCreate();
SelectLibConfig.onSelect(); SelectLibConfig.onSelect();
SelectLibMsg.onSelect(prefix); 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); Bukkit.getServer().getPluginManager().registerEvents(new JoinEvent(), plugin);
T2CodeTemplate.onLoadFooter(prefix, long_); T2CodeTemplate.onLoadFooter(prefix, long_);
} }

View File

@ -1,7 +1,7 @@
package net.t2code.lib; package net.t2code.lib;
public class Util { public class Util {
private static Boolean Snapshot = true; private static Boolean Snapshot = false;
private static String Prefix = "§8[§4T2Code§5Lib§8]"; private static String Prefix = "§8[§4T2Code§5Lib§8]";
private static Integer SpigotID = 96388; private static Integer SpigotID = 96388;