Handle meta=0 as undefined in CTM

This commit is contained in:
Mike Primm 2019-09-29 17:51:58 -05:00
parent 398e2d4f5f
commit 1be9f663c7

View File

@ -343,8 +343,8 @@ public class CTMTexturePack {
bs = DynmapBlockState.getBaseStateByName(token);
addbase = true;
}
if (bs.isAir()) {
Log.info("Unknown block ID in CTM: " + token);
if (bs == DynmapBlockState.AIR) {
Log.info("Unknown block ID in CTM: " + token);
}
else if (addbase) {
addBaseBlockStateToIDSet(list, bs);