Skip to content

Commit

Permalink
Updated to Minecraft 1.8.9
Browse files Browse the repository at this point in the history
  • Loading branch information
joserobjr committed Nov 9, 2016
1 parent 7a63c18 commit 4ae2a54
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion GuiLib
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ buildscript {

apply plugin: 'net.minecraftforge.gradle.forge'

version = "1.8.8.0"
version = "1.8.9.0"
group= "com.mcf.davidee"
archivesBaseName = "AutoJoin"

minecraft {
version = "1.8.8-11.15.0.1655"
version = "1.8.9-11.15.1.1902-1.8.9"
runDir = "run"
mappings = 'stable_20'
mappings = 'stable_22'
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/mcf/davidee/autojoin/AutoJoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
public class AutoJoin {

public static final int PROTOCOL_VER = 47;
public static final String VERSION = "1.8.8.0";
public static final String VERSION = "1.8.9.0";

@Instance("AutoJoin")
public static AutoJoin instance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void run() {
try {
if (screen.isCancelled())
return;
NetworkManager manager = NetworkManager.func_181124_a(InetAddress.getByName(info.ip), info.port, mc.gameSettings.func_181148_f());
NetworkManager manager = NetworkManager.createNetworkManagerAndConnect(InetAddress.getByName(info.ip), info.port, mc.gameSettings.isUsingNativeTransport());
//TODO change this back to the AJ screen?
manager.setNetHandler(new AJLoginHandler(manager, mc, null));
manager.sendPacket(new C00Handshake(AutoJoin.PROTOCOL_VER, info.ip, info.port, EnumConnectionState.LOGIN));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public ThreadPingServer(AutoJoinScreen screen, ServerInfo info) {
}

public void newRun() throws UnknownHostException {
final NetworkManager manager = NetworkManager.func_181124_a(InetAddress.getByName(info.ip), info.port, screen.mc.gameSettings.func_181148_f());
final NetworkManager manager = NetworkManager.createNetworkManagerAndConnect(InetAddress.getByName(info.ip), info.port, screen.mc.gameSettings.isUsingNativeTransport());
manager.setNetHandler(new INetHandlerStatusClient() {

private boolean received = false;
Expand Down

0 comments on commit 4ae2a54

Please sign in to comment.