mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-24 22:04:49 +00:00
remove some now redundant variable assignments
This commit is contained in:
1 parent
046411a625
commit
837f1a09fb
5 files changed
+9
-21
No files matched your search
@@ -258,7 +258,7 @@ public class MekanismRenderer
|
||||
|
||||
public static boolean isDrawing(Tessellator tess)
|
||||
{
|
||||
return isDrawing(tess.getBuffer());
|
||||
return tess.getBuffer().isDrawing;
|
||||
}
|
||||
|
||||
public static boolean isDrawing(VertexBuffer buffer)
|
||||
@@ -537,9 +537,7 @@ public class MekanismRenderer
|
||||
|
||||
public static float getPartialTick()
|
||||
{
|
||||
Timer t = Minecraft.getMinecraft().timer;
|
||||
return t.renderPartialTicks;
|
||||
|
||||
return Minecraft.getMinecraft().timer.renderPartialTicks;
|
||||
}
|
||||
|
||||
public static ResourceLocation getBlocksTexture()
|
||||
|
||||
Reference in new issue
Block a user