Don't read the array size

This commit is contained in:
Plancke 2018-10-21 23:06:24 +02:00
parent dc6d9367b0
commit 7d5c59aa34

View File

@ -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]);