Decorations no longer depend on color

This commit is contained in:
Anuken
2021-07-05 09:47:19 -04:00
parent dfcc9a595f
commit a7d465439b
3 changed files with 23 additions and 19 deletions

View File

@@ -116,10 +116,6 @@ public class Floor extends Block{
//keep default value if not found...
if(wall == null) wall = Blocks.air;
if(decoration == Blocks.air){
decoration = content.blocks().min(b -> b instanceof Prop && b.minfo.mod == null && b.breakable ? mapColor.diff(b.mapColor) : Float.POSITIVE_INFINITY);
}
if(isLiquid && walkEffect == Fx.none){
walkEffect = Fx.ripple;
}

View File

@@ -21,6 +21,7 @@ public class PayloadDeconstructor extends PayloadBlock{
acceptsPayload = true;
update = true;
rotate = false;
solid = true;
size = 5;
payloadSpeed = 1f;
//make sure to display large units.