Make fabric, forge consistent on block type logic
This commit is contained in:
parent
ac08bea145
commit
feac442492
2 changed files with 4 additions and 4 deletions
|
|
@ -167,6 +167,7 @@ public class DynmapPlugin {
|
|||
//Log.info("statename=" + bn + "[" + statename + "], lightAtten=" + lightAtten);
|
||||
// Fill in base attributes
|
||||
bld.setBaseState(basebs).setStateIndex(idx - baseidx).setBlockName(bn).setStateName(statename).setLegacyBlockID(idx).setAttenuatesLight(lightAtten);
|
||||
if (bs.getSoundGroup() != null) { bld.setMaterial(bs.getSoundGroup().toString()); }
|
||||
if (bs.isSolid()) { bld.setSolid(); }
|
||||
if (bs.isAir()) { bld.setAir(); }
|
||||
if (bs.isIn(BlockTags.LOGS)) { bld.setLog(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue