fixed style

This commit is contained in:
SpaceToad 2014-06-10 13:27:13 +02:00
parent 0ad90d29ce
commit 83e84f2687
2 changed files with 4 additions and 3 deletions

View file

@ -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();
}
}
}

View file

@ -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;