mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-02-25 08:11:26 +01:00
fabric-1.19.4: remap to yarn 1.19.4+build.1
This commit is contained in:
parent
eee5565f86
commit
ff5f829f16
@ -165,7 +165,7 @@ public class DynmapPlugin {
|
|||||||
}
|
}
|
||||||
statename += p.getName() + "=" + bs.get(p).toString();
|
statename += p.getName() + "=" + bs.get(p).toString();
|
||||||
}
|
}
|
||||||
int lightAtten = bs.isOpaqueFullCube(EmptyBlockView.INSTANCE, BlockPos.ORIGIN) ? 15 : (bs.isTranslucent(EmptyBlockView.INSTANCE, BlockPos.ORIGIN) ? 0 : 1);
|
int lightAtten = bs.isOpaqueFullCube(EmptyBlockView.INSTANCE, BlockPos.ORIGIN) ? 15 : (bs.isTransparent(EmptyBlockView.INSTANCE, BlockPos.ORIGIN) ? 0 : 1);
|
||||||
//Log.info("statename=" + bn + "[" + statename + "], lightAtten=" + lightAtten);
|
//Log.info("statename=" + bn + "[" + statename + "], lightAtten=" + lightAtten);
|
||||||
// Fill in base attributes
|
// Fill in base attributes
|
||||||
bld.setBaseState(basebs).setStateIndex(idx - baseidx).setBlockName(bn).setStateName(statename).setMaterial(mat.toString()).setLegacyBlockID(idx).setAttenuatesLight(lightAtten);
|
bld.setBaseState(basebs).setStateIndex(idx - baseidx).setBlockName(bn).setStateName(statename).setMaterial(mat.toString()).setLegacyBlockID(idx).setAttenuatesLight(lightAtten);
|
||||||
|
Loading…
Reference in New Issue
Block a user