Log warning for block states with lighting lookup error
This commit is contained in:
parent
1f1b5ab09f
commit
7df857e7f3
3 changed files with 7 additions and 2 deletions
|
|
@ -252,6 +252,7 @@ public class DynmapPlugin
|
|||
try { // Workaround for mods with broken block state logic...
|
||||
lightAtten =bs.isSolidRender(EmptyBlockGetter.INSTANCE, BlockPos.ZERO) ? 15 : (bs.propagatesSkylightDown(EmptyBlockGetter.INSTANCE, BlockPos.ZERO) ? 0 : 1);
|
||||
} catch (Exception x) {
|
||||
Log.warning(String.format("Exception while checking lighting data for block state: %s[%s]", bn, statename));
|
||||
}
|
||||
//Log.info("statename=" + bn + "[" + statename + "], lightAtten=" + lightAtten);
|
||||
// Fill in base attributes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue