Decorations no longer depend on color
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user