Run formatter
This commit is contained in:
parent
61c44a831b
commit
08258fd6ef
606 changed files with 13464 additions and 22975 deletions
|
@ -4,17 +4,13 @@ import net.minecraft.tileentity.TileEntity;
|
|||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class NodeHelper
|
||||
{
|
||||
public static boolean isNodeConnectionEnabled(World world, IRoutingNode node, BlockPos testPos)
|
||||
{
|
||||
if (!node.isConnectionEnabled(testPos))
|
||||
{
|
||||
public class NodeHelper {
|
||||
public static boolean isNodeConnectionEnabled(World world, IRoutingNode node, BlockPos testPos) {
|
||||
if (!node.isConnectionEnabled(testPos)) {
|
||||
return false;
|
||||
}
|
||||
TileEntity tile = world.getTileEntity(testPos);
|
||||
if (!(tile instanceof IRoutingNode))
|
||||
{
|
||||
if (!(tile instanceof IRoutingNode)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue