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

Don't read the array size

Dieser Commit ist enthalten in:
Plancke 2018-10-21 23:06:24 +02:00
Ursprung dc6d9367b0
Commit 7d5c59aa34

Datei anzeigen

@ -449,8 +449,6 @@ public class Protocol1_13To1_12_2 extends Protocol {
}
if (action == 0 || action == 3 || action == 4) {
wrapper.passthrough(Type.INT); // Entity Count
String[] names = wrapper.read(Type.STRING_ARRAY); // Entities
for (int i = 0; i < names.length; i++) {
names[i] = rewriteTeamMemberName(names[i]);