Block commands right when the TFM is enabled. Fixes #735

This commit is contained in:
Jerom van der Sar 2015-09-06 17:05:03 +02:00
parent 400038265b
commit 6aeb56de07

View File

@ -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();