mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-26 18:39:44 -05:00
Fix a bStats bug
Former-commit-id: b6dc084580c0a73bba69a9eadc09aeff12a913ec [formerly 373b26c570264f51330b3909a8371ceef78f0e5a] Former-commit-id: 480e33d235f371bc3be9d760adc01e15bbf3f76a
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user