From 83e84f2687c92c06fa59cc96bac3705d84f08ce4 Mon Sep 17 00:00:00 2001 From: SpaceToad Date: Tue, 10 Jun 2014 13:27:13 +0200 Subject: [PATCH] fixed style --- common/buildcraft/core/render/RenderEntityBlock.java | 6 ++++-- common/buildcraft/core/robots/AIRobotGoToWood.java | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/common/buildcraft/core/render/RenderEntityBlock.java b/common/buildcraft/core/render/RenderEntityBlock.java index 73408900..558c28fd 100644 --- a/common/buildcraft/core/render/RenderEntityBlock.java +++ b/common/buildcraft/core/render/RenderEntityBlock.java @@ -206,8 +206,9 @@ public final class RenderEntityBlock extends Render { realDoLight = false; } - if (doTessellating) + if (doTessellating) { tessellator.startDrawingQuads(); + } float light = 0; if (realDoLight) { @@ -278,7 +279,8 @@ public final class RenderEntityBlock extends Render { renderBlocks.renderFaceXPos(info.baseBlock, x, y, z, info.getBlockTextureFromSide(5)); } - if (doTessellating) + if (doTessellating) { tessellator.draw(); + } } } diff --git a/common/buildcraft/core/robots/AIRobotGoToWood.java b/common/buildcraft/core/robots/AIRobotGoToWood.java index d1184503..3f197636 100755 --- a/common/buildcraft/core/robots/AIRobotGoToWood.java +++ b/common/buildcraft/core/robots/AIRobotGoToWood.java @@ -14,7 +14,6 @@ import net.minecraft.init.Blocks; import net.minecraft.world.IBlockAccess; import buildcraft.core.BlockIndex; -import buildcraft.core.robots.AIRobotMoveToBlock; import buildcraft.core.utils.IPathFound; import buildcraft.core.utils.PathFinding; import buildcraft.robots.AIRobot;