if statement added
This commit is contained in:
parent
3e8711580e
commit
fb04d10886
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
||||||
*/
|
*/
|
||||||
public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
|
public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
|
||||||
{
|
{
|
||||||
+ MinecraftForge.EVENT_BUS.post(new RenderLivingEvent.Pre((EntityLivingBase)par1Entity, this));
|
+ if (MinecraftForge.EVENT_BUS.post(new RenderLivingEvent.Pre((EntityLivingBase)par1Entity, this))) return;
|
||||||
this.func_130000_a((EntityLivingBase)par1Entity, par2, par4, par6, par8, par9);
|
this.func_130000_a((EntityLivingBase)par1Entity, par2, par4, par6, par8, par9);
|
||||||
+ MinecraftForge.EVENT_BUS.post(new RenderLivingEvent.Post((EntityLivingBase)par1Entity, this));
|
+ MinecraftForge.EVENT_BUS.post(new RenderLivingEvent.Post((EntityLivingBase)par1Entity, this));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue