Fix short circuit logic in ItemDefinitionDecoder

* Replaces an OR, with what should have been an AND while decoding
  unused item definition info.
This commit is contained in:
Gary Tierney
2015-12-21 04:03:26 +00:00
parent 442ac44a08
commit ef740b36e0
@@ -108,7 +108,7 @@ public final class ItemDefinitionDecoder implements Runnable {
buffer.getShort();
buffer.getShort();
}
} else if (opcode == 78 || opcode == 79 || opcode >= 90 || opcode <= 93 || opcode == 95) {
} else if (opcode == 78 || opcode == 79 || (opcode >= 90 && opcode <= 93) || opcode == 95) {
buffer.getShort();
} else if (opcode == 97) {
definition.setNoteInfoId(buffer.getShort() & 0xFFFF);