Don't use mods for floor decoration
This commit is contained in:
@@ -119,7 +119,7 @@ public class Floor extends Block{
|
|||||||
if(wall == null) wall = Blocks.air;
|
if(wall == null) wall = Blocks.air;
|
||||||
|
|
||||||
if(decoration == Blocks.air){
|
if(decoration == Blocks.air){
|
||||||
decoration = content.blocks().min(b -> b instanceof Boulder && b.breakable ? mapColor.diff(b.mapColor) : Float.POSITIVE_INFINITY);
|
decoration = content.blocks().min(b -> b instanceof Boulder && b.minfo.mod == null && b.breakable ? mapColor.diff(b.mapColor) : Float.POSITIVE_INFINITY);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isLiquid && walkEffect == Fx.none){
|
if(isLiquid && walkEffect == Fx.none){
|
||||||
|
|||||||
Reference in New Issue
Block a user