Stupid debug stuff

Dieser Commit ist enthalten in:
md_5 2013-09-28 19:50:25 +10:00
Ursprung f6d479b736
Commit c0e1d57c02

Datei anzeigen

@ -1,4 +1,4 @@
From 4dac5fc704f8342e0d85ab116d996115343e2cfa Mon Sep 17 00:00:00 2001 From a7b0d8aa1fdbc190b46efe08451568090520ca3c Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au> From: md_5 <md_5@live.com.au>
Date: Sat, 28 Sep 2013 18:35:51 +1000 Date: Sat, 28 Sep 2013 18:35:51 +1000
Subject: [PATCH] Snapshot Protocol Subject: [PATCH] Snapshot Protocol
@ -308,7 +308,7 @@ index 70f9fea..2d0c1f9 100644
BufferedReader bufferedreader = new BufferedReader(new InputStreamReader(url.openConnection(PendingConnection.b(this.pendingConnection).ap()).getInputStream())); BufferedReader bufferedreader = new BufferedReader(new InputStreamReader(url.openConnection(PendingConnection.b(this.pendingConnection).ap()).getInputStream()));
String s1 = bufferedreader.readLine(); String s1 = bufferedreader.readLine();
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
index 296c581..686e82c 100644 index 296c581..a49b275 100644
--- a/src/main/java/org/spigotmc/SpigotConfig.java --- a/src/main/java/org/spigotmc/SpigotConfig.java
+++ b/src/main/java/org/spigotmc/SpigotConfig.java +++ b/src/main/java/org/spigotmc/SpigotConfig.java
@@ -290,4 +290,22 @@ public class SpigotConfig @@ -290,4 +290,22 @@ public class SpigotConfig
@ -322,7 +322,7 @@ index 296c581..686e82c 100644
+ private static void snapshotProtocol() + private static void snapshotProtocol()
+ { + {
+ snapshotProtocol = getBoolean( "settings.snapshot-protocol", false ); + snapshotProtocol = getBoolean( "settings.snapshot-protocol", false );
+snapshotProtocol = true; +
+ gameVersion = ( snapshotProtocol ) ? "13w39b" : "1.6.4"; + gameVersion = ( snapshotProtocol ) ? "13w39b" : "1.6.4";
+ protocolVersion = (byte) ( ( snapshotProtocol ) ? 80 : 78 ); + protocolVersion = (byte) ( ( snapshotProtocol ) ? 80 : 78 );
+ if ( snapshotProtocol ) + if ( snapshotProtocol )