Merge pull request #19 from DerFlash/testsFix
Stay backwards compatible to Java 6 in test classes
Dieser Commit ist enthalten in:
Commit
2a0e782725
@ -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");
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren