From 12ec602f7fd038c46b01557cbc6973891714f0db Mon Sep 17 00:00:00 2001 From: Sauilitired Date: Mon, 22 Sep 2014 13:43:01 +0200 Subject: [PATCH] Removed web stuff (caused crash) --- .idea/workspace.xml | 125 ++++++++++++++---- .../intellectualcrafters/plot/PlotMain.java | 9 +- 2 files changed, 100 insertions(+), 34 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index baedbcbd1..d1c4dd4f3 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -7,8 +7,6 @@ - - @@ -76,23 +74,31 @@ - + - - - - - + + + - + - + + + + + + + + + + + @@ -170,6 +176,60 @@ - - + @@ -401,7 +465,7 @@ - + @@ -430,7 +494,8 @@ - @@ -514,20 +579,26 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/PlotSquared/src/com/intellectualcrafters/plot/PlotMain.java b/PlotSquared/src/com/intellectualcrafters/plot/PlotMain.java index efc3754c7..59dceda07 100644 --- a/PlotSquared/src/com/intellectualcrafters/plot/PlotMain.java +++ b/PlotSquared/src/com/intellectualcrafters/plot/PlotMain.java @@ -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..."); } }