mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-01 14:38:55 +00:00
config overhall
This commit is contained in:
1 parent
a514879930
commit
09a148b5bc
10 files changed
+494
-293
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package com.github.alathra.siegeengines.command;
|
||||
|
||||
import com.github.alathra.siegeengines.SiegeEngine;
|
||||
import com.github.alathra.siegeengines.config.Config;
|
||||
import com.github.milkdrinkers.colorparser.ColorParser;
|
||||
import dev.jorel.commandapi.CommandAPIBukkit;
|
||||
import dev.jorel.commandapi.CommandAPICommand;
|
||||
@@ -98,6 +99,7 @@ public class SiegeEnginesCommand {
|
||||
activeSiegeEngines.clear();
|
||||
siegeEngineEntitiesPerPlayer.clear();
|
||||
definedSiegeEngines.clear();
|
||||
Config.reload();
|
||||
AddDefaults();
|
||||
for (SiegeEngine i : definedSiegeEngines.values()) {
|
||||
sender.sendMessage(ColorParser.of("<yellow>Enabled SiegeEngine : %s".formatted(i.name)).build());
|
||||
|
||||
Reference in new issue
Block a user