From 9d396f1c459e02e2c3e055a01de99431f26c79c7 Mon Sep 17 00:00:00 2001 From: Kino Date: Sun, 12 Mar 2017 00:17:35 -0500 Subject: [PATCH] Cleanup --- .../client/gui/menu/GuiAetherMainMenu.java | 4 +--- .../gui/menu/GuiAetherMainMenuFallback.java | 2 -- .../world/dungeon/util/AetherDungeon.java | 1 - .../aether/universal/AetherCompatibility.java | 21 ------------------- 4 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 src/main/java/com/legacy/aether/universal/AetherCompatibility.java diff --git a/src/main/java/com/legacy/aether/client/gui/menu/GuiAetherMainMenu.java b/src/main/java/com/legacy/aether/client/gui/menu/GuiAetherMainMenu.java index 1854e5b..f45f658 100644 --- a/src/main/java/com/legacy/aether/client/gui/menu/GuiAetherMainMenu.java +++ b/src/main/java/com/legacy/aether/client/gui/menu/GuiAetherMainMenu.java @@ -13,10 +13,8 @@ import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiButtonLanguage; import net.minecraft.client.gui.GuiLanguage; -import net.minecraft.client.gui.GuiMultiplayer; import net.minecraft.client.gui.GuiOptions; import net.minecraft.client.gui.GuiScreen; -import net.minecraft.client.gui.GuiWorldSelection; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.resources.IResource; import net.minecraft.util.ResourceLocation; @@ -119,7 +117,7 @@ public class GuiAetherMainMenu extends GuiScreen { if (this.mc.thePlayer != null) { - AetherNetworkingManager.sendToServer(new PacketGameType(GameType.SURVIVAL)); + AetherNetworkingManager.sendToServer(new PacketGameType(GameType.SPECTATOR)); } Calendar calendar = Calendar.getInstance(); diff --git a/src/main/java/com/legacy/aether/client/gui/menu/GuiAetherMainMenuFallback.java b/src/main/java/com/legacy/aether/client/gui/menu/GuiAetherMainMenuFallback.java index 3e61905..b6c0940 100644 --- a/src/main/java/com/legacy/aether/client/gui/menu/GuiAetherMainMenuFallback.java +++ b/src/main/java/com/legacy/aether/client/gui/menu/GuiAetherMainMenuFallback.java @@ -14,10 +14,8 @@ import net.minecraft.client.gui.GuiButtonLanguage; import net.minecraft.client.gui.GuiConfirmOpenLink; import net.minecraft.client.gui.GuiLanguage; import net.minecraft.client.gui.GuiMainMenu; -import net.minecraft.client.gui.GuiMultiplayer; import net.minecraft.client.gui.GuiOptions; import net.minecraft.client.gui.GuiScreen; -import net.minecraft.client.gui.GuiWorldSelection; import net.minecraft.client.gui.GuiYesNoCallback; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.OpenGlHelper; diff --git a/src/main/java/com/legacy/aether/server/world/dungeon/util/AetherDungeon.java b/src/main/java/com/legacy/aether/server/world/dungeon/util/AetherDungeon.java index 8d22fc7..584f3ed 100644 --- a/src/main/java/com/legacy/aether/server/world/dungeon/util/AetherDungeon.java +++ b/src/main/java/com/legacy/aether/server/world/dungeon/util/AetherDungeon.java @@ -6,7 +6,6 @@ import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.init.Blocks; import net.minecraft.util.math.BlockPos; -import net.minecraft.util.math.BlockPos.MutableBlockPos; import net.minecraft.world.World; import net.minecraft.world.gen.feature.WorldGenerator; diff --git a/src/main/java/com/legacy/aether/universal/AetherCompatibility.java b/src/main/java/com/legacy/aether/universal/AetherCompatibility.java deleted file mode 100644 index 4a552f2..0000000 --- a/src/main/java/com/legacy/aether/universal/AetherCompatibility.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.legacy.aether.universal; - -import net.minecraftforge.fml.common.Loader; - -public class AetherCompatibility -{ - - public static void initialization() - { - if (isLoaded("jei")) - { - - } - } - - public static boolean isLoaded(String modId) - { - return Loader.isModLoaded(modId); - } - -} \ No newline at end of file