From 28a5c9f59749855711bcc58199947d5e45209240 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 28 May 2016 02:01:50 +1000 Subject: [PATCH] Remove pre-init logging --- .../com/plotsquared/sponge/SpongeMain.java | 26 +++++-------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/Sponge/src/main/java/com/plotsquared/sponge/SpongeMain.java b/Sponge/src/main/java/com/plotsquared/sponge/SpongeMain.java index 15c2d9dae..529c50e4d 100644 --- a/Sponge/src/main/java/com/plotsquared/sponge/SpongeMain.java +++ b/Sponge/src/main/java/com/plotsquared/sponge/SpongeMain.java @@ -52,6 +52,12 @@ import com.plotsquared.sponge.util.block.SlowQueue; import com.plotsquared.sponge.uuid.SpongeLowerOfflineUUIDWrapper; import com.plotsquared.sponge.uuid.SpongeOnlineUUIDWrapper; import com.plotsquared.sponge.uuid.SpongeUUIDHandler; +import java.io.File; +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; +import java.util.UUID; +import java.util.stream.Collectors; import org.slf4j.Logger; import org.spongepowered.api.Game; import org.spongepowered.api.Server; @@ -59,8 +65,6 @@ import org.spongepowered.api.Sponge; import org.spongepowered.api.entity.living.player.Player; import org.spongepowered.api.event.Listener; import org.spongepowered.api.event.game.state.GameAboutToStartServerEvent; -import org.spongepowered.api.event.game.state.GameInitializationEvent; -import org.spongepowered.api.event.game.state.GamePreInitializationEvent; import org.spongepowered.api.plugin.Plugin; import org.spongepowered.api.plugin.PluginContainer; import org.spongepowered.api.profile.GameProfileManager; @@ -70,13 +74,6 @@ import org.spongepowered.api.world.gen.GenerationPopulator; import org.spongepowered.api.world.gen.WorldGenerator; import org.spongepowered.api.world.gen.WorldGeneratorModifier; -import java.io.File; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; -import java.util.UUID; -import java.util.stream.Collectors; - @Plugin(id = "plotsquared", name = "PlotSquared", description = "Easy, yet powerful Plot World generation and management.", url = "https://github.com/IntellectualSites/PlotSquared", version = "3.3.3") public class SpongeMain implements IPlotMain { @@ -119,19 +116,8 @@ public class SpongeMain implements IPlotMain { return THIS; } - @Listener - public void init(GameInitializationEvent event) { - PS.log("PlotSquared: Game init"); - } - - @Listener - public void onInit(GamePreInitializationEvent event) { - PS.log("PlotSquared: Game pre init"); - } - @Listener public void onServerAboutToStart(GameAboutToStartServerEvent event) { - PS.log("PlotSquared: Server init"); THIS = this; new PS(this, "Sponge"); this.server = this.game.getServer();