Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Render fixes
Browse files Browse the repository at this point in the history
- Reset color to white before rendering.
- Hopefully fixes render interaction with Botania
  • Loading branch information
fuj1n committed Dec 27, 2014
1 parent 43c36c1 commit f7c0a02
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Binary file added pub_build/RecStatusMod-v1.4.2.1-1.7.10.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/fuj1n/recmod/RecMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.common.config.Configuration;

@Mod(name = "Recording Status Mod", version = "v1.4", modid = "fuj1n.recmod", acceptableRemoteVersions = "*", canBeDeactivated = false)
@Mod(name = "Recording Status Mod", version = "v1.4.2.1", modid = "fuj1n.recmod", acceptableRemoteVersions = "*", canBeDeactivated = false)
public class RecMod {

@Instance("fuj1n.recmod")
Expand Down
5 changes: 5 additions & 0 deletions src/fuj1n/recmod/client/event/EventRenderGame.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package fuj1n.recmod.client.event;

import net.minecraft.client.renderer.Tessellator;

import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import fuj1n.recmod.RecMod;
import fuj1n.recmod.lib.IndexReference;
Expand All @@ -25,6 +27,9 @@ public void onRenderGameOverlay(RenderGameOverlayEvent event) {
Minecraft mc = Minecraft.getMinecraft();
ResourceLocation indicators = mc.isFancyGraphicsEnabled() ? indicatorsHigh : indicatorsLow;

Tessellator tes = Tessellator.instance;
tes.setColorOpaque_F(1F, 1F, 1F);

if (mc.gameSettings.keyBindPlayerList.getIsKeyPressed() && (!mc.isIntegratedServerRunning() || mc.thePlayer.sendQueue.playerInfoList.size() > 1 || mc.theWorld.getScoreboard().func_96539_a(0) != null)) {
mc.mcProfiler.startSection("playerList");
NetHandlerPlayClient nethandlerplayclient = mc.thePlayer.sendQueue;
Expand Down

0 comments on commit f7c0a02

Please sign in to comment.