Map previews functional

This commit is contained in:
Anuken
2019-05-10 12:57:45 -04:00
parent d26f533111
commit 064a012b25
10 changed files with 166 additions and 68 deletions

View File

@@ -62,7 +62,7 @@ public class FloorRenderer implements Disposable{
//loop through all layers, and add layer index if it exists
for(int i = 0; i < layers; i++){
if(chunk.caches[i] != -1){
if(chunk.caches[i] != -1 && i != CacheLayer.walls.ordinal()){
drawnLayerSet.add(i);
}
}