Untitled
unknown
java
4 years ago
567 B
3
Indexable
for (int index = 0; index < Cache.STORE.getIndexes().length; index++) { if (index == 32 || index == 33 || index == 34 || index == 35 || index == 36 || index == 37 || index == 38 || index == 39) { continue; } int crc = Cache.STORE.getIndexes()[index].getCRC(); int receivedCRC = buf.readInt(); if (crc != receivedCRC) { if (!Settings.DEBUG) { Logger.log(this, "Invalid CRC at index: " + index + ", received: " + receivedCRC + ", expected: " + crc); } sendCloseReply(ctx.channel(), 6); return; } }
Editor is loading...