Archiviert
13
0

Fix stat sending

Dieser Commit ist enthalten in:
md_5 2013-09-28 18:44:19 +10:00
Ursprung c04d3c5f80
Commit f6d479b736

Datei anzeigen

@ -1,4 +1,4 @@
From 6dad765f629a338297b6d7b95ad5bb64ee31c073 Mon Sep 17 00:00:00 2001
From 4dac5fc704f8342e0d85ab116d996115343e2cfa Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sat, 28 Sep 2013 18:35:51 +1000
Subject: [PATCH] Snapshot Protocol
@ -31,7 +31,7 @@ index fb8bc87..5651bd0 100644
public int A() {
diff --git a/src/main/java/net/minecraft/server/Packet200Statistic.java b/src/main/java/net/minecraft/server/Packet200Statistic.java
new file mode 100644
index 0000000..8e9dc94
index 0000000..a850473
--- /dev/null
+++ b/src/main/java/net/minecraft/server/Packet200Statistic.java
@@ -0,0 +1,49 @@
@ -67,7 +67,7 @@ index 0000000..8e9dc94
+ if ( org.spigotmc.SpigotConfig.snapshotProtocol )
+ {
+ dataoutput.writeInt( 1 );
+ a( (String) StatisticList.a.get( this.a ), dataoutput );
+ a( ( (Statistic) StatisticList.a.get( this.a ) ).g, dataoutput );
+ dataoutput.writeInt( this.b );
+ return;
+ }