12.4
This commit is contained in:
@@ -18,7 +18,6 @@ import net.t2code.lib.Spigot.system.languages.SelectLibMsg;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.List;
|
||||
@@ -128,7 +127,7 @@ public final class T2CodeMain extends JavaPlugin {
|
||||
if (MCVersion.minecraft1_19) {
|
||||
send.console(prefix + " §4!!!!!!!!!!!!!!!!!!!!");
|
||||
send.console(prefix );
|
||||
send.warning(this, "The 1.19 is a very fresh / new version. If there are any bugs in our plugins, please report them to us via our Discord: http://dc.t2code.net");
|
||||
send.warning(this, "The 1.19.* is a very fresh / new version. If there are any bugs in our plugins, please report them to us via our Discord: http://dc.t2code.net");
|
||||
send.console(prefix);
|
||||
send.console(prefix + " §4!!!!!!!!!!!!!!!!!!!!");
|
||||
try {
|
||||
@@ -172,8 +171,6 @@ public final class T2CodeMain extends JavaPlugin {
|
||||
Bukkit.getServer().getPluginManager().registerEvents(new JoinEvent(), plugin);
|
||||
T2CodeTemplate.onLoadFooter(prefix, long_);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
// Plugin shutdown logic
|
||||
|
@@ -29,8 +29,6 @@ public class ConfigCreate {
|
||||
Config.set("BungeeCord.ThisServer", "server", yamlConfiguration);
|
||||
Config.set("Player.Inventories.CloseByServerStop", true, yamlConfiguration);
|
||||
|
||||
Config.set("PlayerMessage.MiniMessage", false,yamlConfiguration);
|
||||
|
||||
try {
|
||||
yamlConfiguration.save(config);
|
||||
} catch (IOException e) {
|
||||
|
@@ -14,7 +14,6 @@ public class SelectLibConfig {
|
||||
private static Boolean Debug;
|
||||
private static String language;
|
||||
private static Boolean InventoriesCloseByServerStop;
|
||||
private static Boolean miniMessage;
|
||||
|
||||
public static void onSelect() {
|
||||
File config = new File(T2CodeMain.getPath(), "config.yml");
|
||||
@@ -26,7 +25,6 @@ public class SelectLibConfig {
|
||||
Debug = yamlConfiguration.getBoolean("Plugin.Debug");
|
||||
language = yamlConfiguration.getString("Plugin.language");
|
||||
InventoriesCloseByServerStop = yamlConfiguration.getBoolean("Player.Inventories.CloseByServerStop");
|
||||
miniMessage = yamlConfiguration.getBoolean("PlayerMessage.MiniMessage");
|
||||
}
|
||||
|
||||
public static Boolean getUpdateCheckOnJoin() {
|
||||
@@ -53,7 +51,4 @@ public class SelectLibConfig {
|
||||
return InventoriesCloseByServerStop;
|
||||
}
|
||||
|
||||
public static Boolean getMiniMessage() {
|
||||
return miniMessage;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user