quick fix : Unused assignment

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent 6bf15fdfe3
commit 2b6b01314d
34 files changed
+54 -63

No files matched your search

@@ -44,10 +44,10 @@ public class BlockSkinRenderHelper {
IBlockAccess world) {
render.enableAO = true;
boolean flag = false;
float f3 = 0.0F;
float f4 = 0.0F;
float f5 = 0.0F;
float f6 = 0.0F;
float f3;
float f4;
float f5;
float f6;
boolean flag1 = true;
int l = block.getMixedBrightnessForBlock(render.blockAccess, xPos, yPos, zPos);
Tessellator tessellator = Tessellator.instance;
@@ -1055,10 +1055,10 @@ public class BlockSkinRenderHelper {
Block block = Blocks.stone;
render.enableAO = true;
boolean flag = false;
float f3 = 0.0F;
float f4 = 0.0F;
float f5 = 0.0F;
float f6 = 0.0F;
float f3;
float f4;
float f5;
float f6;
boolean flag1 = true;
int l = block.getMixedBrightnessForBlock(render.blockAccess, xPos, yPos, zPos);
Tessellator tessellator = Tessellator.instance;
@@ -36,7 +36,7 @@ public class CustomBowRenderer implements IItemRenderer {
public void renderItem(EntityLivingBase living, ItemStack stack, int renderPass, ItemRenderType type) {
GL11.glPushMatrix();
IIcon icon = null;
IIcon icon;
if (living instanceof EntityPlayer) {
EntityPlayer player = (EntityPlayer) living;
if (player.getItemInUse() != null)
@@ -58,7 +58,7 @@ public class ArrowRender extends Render {
float f6;
int i;
Block block = null;
Block block;
block = BlockUtils.getBlockFromItem(itemstack.getItem());
if (itemstack.getItemSpriteNumber() == 0