mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-01 11:31:43 +00:00
Move kits to kits.yml (#1774)
* Move kits to kits.yml We will now use a separate kits.yml file. Any kits that were defined in the config.yml will be migrated over to the kits.yml file automatically on startup.
This commit is contained in:
parent
1f0f77ff72
commit
cd43355d4c
14 changed files with 286 additions and 135 deletions
|
@ -72,7 +72,7 @@ public class Commandcreatekit extends EssentialsCommand {
|
|||
}
|
||||
// Some users might want to directly write to config knowing the consequences. *shrug*
|
||||
if (!ess.getSettings().isPastebinCreateKit()) {
|
||||
ess.getSettings().addKit(kitname, list, delay);
|
||||
ess.getKits().addKit(kitname, list, delay);
|
||||
user.sendMessage(tl("createdKit", kitname, list.size(), delay));
|
||||
} else {
|
||||
ConfigurationSection config = new MemoryConfiguration();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue