fix missing metadata index check

This commit is contained in:
Gerrygames 2019-05-21 22:28:28 +02:00
parent a9ee4ae88b
commit 114dbedfb7

View File

@ -349,7 +349,7 @@ public class EntityPackets1_14 extends EntityRewriter<Protocol1_13_2To1_14> {
if (index == 14) { if (index == 14) {
//TODO handle //TODO handle
throw new RemovedValueException(); throw new RemovedValueException();
} else { } else if (index > 14) {
meta.setId(index - 1); meta.setId(index - 1);
} }
} }