mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-01-12 02:40:56 +01:00
Handle meta=0 as undefined in CTM
This commit is contained in:
parent
398e2d4f5f
commit
1be9f663c7
@ -343,8 +343,8 @@ public class CTMTexturePack {
|
|||||||
bs = DynmapBlockState.getBaseStateByName(token);
|
bs = DynmapBlockState.getBaseStateByName(token);
|
||||||
addbase = true;
|
addbase = true;
|
||||||
}
|
}
|
||||||
if (bs.isAir()) {
|
if (bs == DynmapBlockState.AIR) {
|
||||||
Log.info("Unknown block ID in CTM: " + token);
|
Log.info("Unknown block ID in CTM: " + token);
|
||||||
}
|
}
|
||||||
else if (addbase) {
|
else if (addbase) {
|
||||||
addBaseBlockStateToIDSet(list, bs);
|
addBaseBlockStateToIDSet(list, bs);
|
||||||
|
Loading…
Reference in New Issue
Block a user