Mod(ModListing info, ByteBuffer headerInfo) throws Exception {
this(info, true);
SPGlobal.logMod(this, "MOD", "Parsing header");
if (!headerInfo.hasRemaining()) {
throw new BadMod(info.print() + " did not have a TES4 header.");
}
tes.parseData(headerInfo, this);
if (tes.flags.get(Mod_Flags.MASTER.value) && (!info.getMasterTag())) {
info.setFalseMaster(true);
}