Archiviert
13
0

Merge pull request #19 from DerFlash/testsFix

Stay backwards compatible to Java 6 in test classes
Dieser Commit ist enthalten in:
Kristian S. Stangeland 2013-12-06 11:16:46 -08:00
Commit 2a0e782725

Datei anzeigen

@ -70,7 +70,7 @@ public class SimpleMinecraftClient {
// For 1.6
if (version.compareTo(new MinecraftVersion(PLUGIN_MESSAGE_VERSION)) >= 0) {
DataOutputStream data = new DataOutputStream(output);
String host = address.getHostString();
String host = address.getHostName();
data.writeByte(0xFA);
writeString(data, "MC|PingHost");