diff --git a/src/main/java/baritone/launch/mixins/MixinMain.java b/src/main/java/baritone/launch/mixins/MixinMain.java deleted file mode 100755 index 1e4323e9..00000000 --- a/src/main/java/baritone/launch/mixins/MixinMain.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * This file is part of Baritone. - * - * Baritone is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Baritone is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Baritone. If not, see . - */ - -package baritone.launch.mixins; - -import net.minecraft.client.main.Main; -import org.spongepowered.asm.mixin.Mixin; -import org.spongepowered.asm.mixin.injection.At; -import org.spongepowered.asm.mixin.injection.Inject; -import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; - -/** - * @author Brady - * @since 7/31/2018 10:18 PM - */ -@Mixin(Main.class) -public class MixinMain { - - @Inject( - method = "main", - at = @At("HEAD") - ) - private static void main(String[] args, CallbackInfo ci) { - System.setProperty("java.net.preferIPv4Stack", "true"); - } -} diff --git a/src/main/resources/mixins.baritone.json b/src/main/resources/mixins.baritone.json index e05bca84..e4d09c71 100755 --- a/src/main/resources/mixins.baritone.json +++ b/src/main/resources/mixins.baritone.json @@ -17,7 +17,6 @@ "MixinGuiScreen", "MixinInventoryPlayer", "MixinKeyBinding", - "MixinMain", "MixinMinecraft", "MixinNetHandlerPlayClient", "MixinNetworkManager",