mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-28 00:55:38 +00:00
Proper Reformating
This commit is contained in:
1 parent
ce75880aba
commit
180d257024
1179 files changed
+59847
-61583
No files matched your search
@@ -14,12 +14,11 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
public abstract class MixinEntityRenderer {
|
||||
|
||||
@Inject(method = "renderWorld", at = @At(value = "RETURN"))
|
||||
private void renderFirstPersonOverlays(float p_78476_1_, long p_78476_2_, CallbackInfo callbackInfo)
|
||||
{
|
||||
private void renderFirstPersonOverlays(float p_78476_1_, long p_78476_2_, CallbackInfo callbackInfo) {
|
||||
EntityPlayer player = Minecraft.getMinecraft().thePlayer;
|
||||
if (ClientEventHandler.hasOverlays(player)) {
|
||||
GL11.glPushMatrix();
|
||||
ClientEventHandler.renderCNPCSelf.renderHand(p_78476_1_,0);
|
||||
ClientEventHandler.renderCNPCSelf.renderHand(p_78476_1_, 0);
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user