Removed web stuff (caused crash)

This commit is contained in:
Sauilitired
2014-09-22 13:43:01 +02:00
parent e6849e4ace
commit 12ec602f7f
2 changed files with 100 additions and 34 deletions

View File

@ -396,14 +396,9 @@ public class PlotMain extends JavaPlugin {
getServer().getScheduler().scheduleSyncRepeatingTask(this, new Lag(),
100L, 1L);
if(Web.ENABLED) {
try {
PlotWeb web = new PlotWeb("PlotWeb", Web.PORT);
web.start();
sendConsoleSenderMessage("Web Server running on port " + Web.PORT);
} catch(Exception e) {
sendConsoleSenderMessage("Failed to start web server.");
}
sendConsoleSenderMessage("This is not yet implemented...");
}
}