mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-11-01 00:59:37 +00:00
Make '/tfm reload' update blocked commands. Resolves #265.
Config must be reloaded in order to pull in any changes to blocked commands list.
This commit is contained in:
parent
dc2c996516
commit
d2f6f7f51a
|
@ -1,6 +1,7 @@
|
||||||
package me.StevenLawson.TotalFreedomMod.Commands;
|
package me.StevenLawson.TotalFreedomMod.Commands;
|
||||||
|
|
||||||
import me.StevenLawson.TotalFreedomMod.Config.TFM_ConfigEntry;
|
import me.StevenLawson.TotalFreedomMod.Config.TFM_ConfigEntry;
|
||||||
|
import me.StevenLawson.TotalFreedomMod.Config.TFM_MainConfig;
|
||||||
import me.StevenLawson.TotalFreedomMod.TFM_AdminList;
|
import me.StevenLawson.TotalFreedomMod.TFM_AdminList;
|
||||||
import me.StevenLawson.TotalFreedomMod.TFM_BanManager;
|
import me.StevenLawson.TotalFreedomMod.TFM_BanManager;
|
||||||
import me.StevenLawson.TotalFreedomMod.TFM_CommandBlocker;
|
import me.StevenLawson.TotalFreedomMod.TFM_CommandBlocker;
|
||||||
|
@ -36,13 +37,13 @@ public class Command_tfm extends TFM_Command
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TFM_MainConfig.load();
|
||||||
TFM_AdminList.load();
|
TFM_AdminList.load();
|
||||||
TFM_PermbanList.load();
|
TFM_PermbanList.load();
|
||||||
TFM_PlayerList.load();
|
TFM_PlayerList.load();
|
||||||
TFM_BanManager.load();
|
TFM_BanManager.load();
|
||||||
TFM_CommandBlocker.load();
|
TFM_CommandBlocker.load();
|
||||||
|
|
||||||
|
|
||||||
final String message = String.format("%s v%s.%s reloaded.",
|
final String message = String.format("%s v%s.%s reloaded.",
|
||||||
TotalFreedomMod.pluginName,
|
TotalFreedomMod.pluginName,
|
||||||
TotalFreedomMod.pluginVersion,
|
TotalFreedomMod.pluginVersion,
|
||||||
|
|
Loading…
Reference in a new issue