forked from Upstream/CommandPanels
3.17.4.2
This commit is contained in:
parent
f1717d2deb
commit
082e6cd924
@ -1,4 +1,4 @@
|
|||||||
version: 3.17.4.1
|
version: 3.17.4.2
|
||||||
main: me.rockyhawk.commandpanels.CommandPanels
|
main: me.rockyhawk.commandpanels.CommandPanels
|
||||||
name: CommandPanels
|
name: CommandPanels
|
||||||
author: RockyHawk
|
author: RockyHawk
|
||||||
|
@ -120,11 +120,6 @@ public class CommandPanels extends JavaPlugin{
|
|||||||
inventorySaver.inventoryConfig = YamlConfiguration.loadConfiguration(new File(getDataFolder() + File.separator + "inventories.yml"));
|
inventorySaver.inventoryConfig = YamlConfiguration.loadConfiguration(new File(getDataFolder() + File.separator + "inventories.yml"));
|
||||||
this.config = YamlConfiguration.loadConfiguration(new File(this.getDataFolder() + File.separator + "config.yml"));
|
this.config = YamlConfiguration.loadConfiguration(new File(this.getDataFolder() + File.separator + "config.yml"));
|
||||||
|
|
||||||
//set version to latest version
|
|
||||||
if (Objects.requireNonNull(this.config.getString("updater.update-checks")).equalsIgnoreCase("true")) {
|
|
||||||
updater.githubNewUpdate(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
//save the config.yml file
|
//save the config.yml file
|
||||||
File configFile = new File(this.getDataFolder() + File.separator + "config.yml");
|
File configFile = new File(this.getDataFolder() + File.separator + "config.yml");
|
||||||
if (!configFile.exists()) {
|
if (!configFile.exists()) {
|
||||||
@ -148,6 +143,11 @@ public class CommandPanels extends JavaPlugin{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//set version to latest version
|
||||||
|
if (Objects.requireNonNull(this.config.getString("updater.update-checks")).equalsIgnoreCase("true")) {
|
||||||
|
updater.githubNewUpdate(false);
|
||||||
|
}
|
||||||
|
|
||||||
//setup class files
|
//setup class files
|
||||||
this.setupEconomy();
|
this.setupEconomy();
|
||||||
this.getServer().getMessenger().registerOutgoingPluginChannel(this, "BungeeCord");
|
this.getServer().getMessenger().registerOutgoingPluginChannel(this, "BungeeCord");
|
||||||
|
Loading…
Reference in New Issue
Block a user