9.0 | small code changes
This commit is contained in:
parent
1c962a54d6
commit
c171a1674d
@ -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>
|
@ -108,9 +108,11 @@ public final class Main extends JavaPlugin {
|
|||||||
LanguagesCreate.langCreate();
|
LanguagesCreate.langCreate();
|
||||||
SelectLibConfig.onSelect();
|
SelectLibConfig.onSelect();
|
||||||
SelectLibMsg.onSelect(prefix);
|
SelectLibMsg.onSelect(prefix);
|
||||||
|
if (!Util.getSnapshot()){
|
||||||
UpdateAPI.onUpdateCheck(plugin, prefix, spigot, spigotID, discord);
|
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_);
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user