Fix a bStats bug

Former-commit-id: b6dc084580c0a73bba69a9eadc09aeff12a913ec [formerly 373b26c570264f51330b3909a8371ceef78f0e5a]
Former-commit-id: 480e33d235f371bc3be9d760adc01e15bbf3f76a
This commit is contained in:
Ghost_chu committed 2019-06-09 18:28:38 +08:00
1 parent 18a077f132
commit c223fe252b
1 file changed
+1
@@ -291,6 +291,7 @@ public class Metrics {
connection.setRequestProperty("User-Agent", "MC-Server/" + B_STATS_VERSION);
connection.setConnectTimeout(300000);
connection.setReadTimeout(300000);
connection.setDoOutput(true);
// Send data
DataOutputStream outputStream = new DataOutputStream(connection.getOutputStream());
outputStream.write(compressedData);