Fixed black minimap color for metal walls
This commit is contained in:
@@ -133,7 +133,12 @@ public enum EditorTool{
|
||||
Block dest = tile.floor();
|
||||
if(dest == editor.drawBlock) return;
|
||||
tester = t -> t.floor() == dest;
|
||||
setter = t -> t.setFloor(editor.drawBlock.asFloor());
|
||||
setter = t -> {
|
||||
t.setFloor(editor.drawBlock.asFloor());
|
||||
if(!(t.overlay() instanceof OverlayFloor) && !t.floor().supportsOverlay){
|
||||
t.setOverlay(Blocks.air);
|
||||
}
|
||||
};
|
||||
}else{
|
||||
Block dest = tile.block();
|
||||
if(dest == editor.drawBlock) return;
|
||||
|
||||
Reference in New Issue
Block a user