Fixed enemies not considering conveyors as bridges

This commit is contained in:
Anuken
2017-12-30 13:40:21 -05:00
parent 14093c8915
commit af64e4f021

View File

@@ -149,11 +149,11 @@ public class Tile{
public byte getExtra(){
return Bits.getRightByte(Bits.getRightByte(data));
}
public boolean passable(){
Block block = block();
Block floor = floor();
return isLinked() || !(floor.solid || (block.solid && (!block.destructible && !block.update)));
return isLinked() || !((floor.solid && (block == Blocks.air || block.solidifes)) || (block.solid && (!block.destructible && !block.update)));
}
public boolean solid(){