u24
This commit is contained in:
parent
401ebe2324
commit
573420e1b8
613 changed files with 5708 additions and 4445 deletions
|
|
@ -103,7 +103,9 @@ public class BlockLadder extends Block {
|
|||
if (enumfacing.getAxis().isHorizontal() && this.canBlockStay(world, blockpos, enumfacing)) {
|
||||
return this.getDefaultState().withProperty(FACING, enumfacing);
|
||||
} else {
|
||||
for (EnumFacing enumfacing1 : EnumFacing.Plane.HORIZONTAL) {
|
||||
EnumFacing[] facings = EnumFacing.Plane.HORIZONTAL.facingsArray;
|
||||
for (int i = 0; i < facings.length; ++i) {
|
||||
EnumFacing enumfacing1 = facings[i];
|
||||
if (this.canBlockStay(world, blockpos, enumfacing1)) {
|
||||
return this.getDefaultState().withProperty(FACING, enumfacing1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue