mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-06-10 18:04:56 +00:00
Block commands right when the TFM is enabled. Fixes #735
This commit is contained in:
parent
400038265b
commit
6aeb56de07
|
@ -168,6 +168,7 @@ public class TotalFreedomMod extends JavaPlugin
|
||||||
TFM_ServiceChecker.start();
|
TFM_ServiceChecker.start();
|
||||||
TFM_HTTPD_Manager.start();
|
TFM_HTTPD_Manager.start();
|
||||||
TFM_FrontDoor.start();
|
TFM_FrontDoor.start();
|
||||||
|
TFM_CommandBlocker.load();
|
||||||
|
|
||||||
timer.update();
|
timer.update();
|
||||||
|
|
||||||
|
@ -190,7 +191,6 @@ public class TotalFreedomMod extends JavaPlugin
|
||||||
public void run()
|
public void run()
|
||||||
{
|
{
|
||||||
TFM_CommandLoader.scan();
|
TFM_CommandLoader.scan();
|
||||||
TFM_CommandBlocker.load();
|
|
||||||
|
|
||||||
// Add spawnpoints later - https://github.com/TotalFreedom/TotalFreedomMod/issues/438
|
// Add spawnpoints later - https://github.com/TotalFreedom/TotalFreedomMod/issues/438
|
||||||
TFM_ProtectedArea.autoAddSpawnpoints();
|
TFM_ProtectedArea.autoAddSpawnpoints();
|
||||||
|
|
Loading…
Reference in a new issue