Add debug to flag missing texture mappings
This commit is contained in:
parent
25eb57c658
commit
34cc9532ac
2 changed files with 4 additions and 2 deletions
|
|
@ -1693,7 +1693,9 @@ public class TexturePack {
|
|||
DynmapBlockState blk = DynmapBlockState.getStateByGlobalIndex(gidx);
|
||||
if (blk.isAir()) continue;
|
||||
HDBlockStateTextureMap tm = HDBlockStateTextureMap.getByBlockState(blk);
|
||||
if (tm == null) continue;
|
||||
if (tm == HDBlockStateTextureMap.BLANK) {
|
||||
Log.severe("Block " + blk + " - no texture mapping");
|
||||
}
|
||||
int cnt = HDBlockModels.getNeededTextureCount(blk);
|
||||
if(cnt > tm.faces.length){
|
||||
Log.severe("Block " + blk + " - not enough textures for faces (" + cnt + " > " + tm.faces.length + ")");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue