3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-09-08 22:02:50 +02:00

Merge pull request #2237 from mathiascode/statscheck

Add missing length check in 1.13 -> 1.12.2 stats code
Dieser Commit ist enthalten in:
Myles 2020-12-11 09:15:30 +00:00 committet von GitHub
Commit 3d777bdcda
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -210,7 +210,7 @@ public class Protocol1_13To1_12_2 extends Protocol<ClientboundPackets1_12_1, Cli
} else {
Via.getPlatform().getLogger().warning("Could not find 1.13 -> 1.12.2 statistic mapping for " + name);
}
} else {
} else if (split.length > 2) {
String category = split[1];
//TODO convert string ids (blocks, items, entities)
switch (category) {