Lots of fixes
This commit is contained in:
@@ -171,10 +171,14 @@ public abstract class AbstractFormationPlanePart<T extends IAEStack<T>> extends
|
||||
|
||||
final BlockPos tePos = te.getPos().offset(side.getFacing());
|
||||
|
||||
this.blocked = !w.getBlockState(tePos).getMaterial().isReplaceable();
|
||||
this.blocked = isBlocking(w, tePos);
|
||||
}
|
||||
}
|
||||
|
||||
protected boolean isBlocking(BlockView w, BlockPos pos) {
|
||||
return !w.getBlockState(pos).getMaterial().isReplaceable();
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getCableConnectionLength(AECableType cable) {
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user