Fixed inverted params in FogDensity use

This commit is contained in:
iChun 2014-06-30 10:56:03 +08:00
parent 63d3fd2e84
commit 78f68847d2

View file

@ -183,7 +183,7 @@
Block block = ActiveRenderInfo.func_151460_a(this.field_78531_r.field_71441_e, entitylivingbase, p_78468_2_);
float f1;
+ net.minecraftforge.client.event.EntityViewRenderEvent.FogDensity event = new net.minecraftforge.client.event.EntityViewRenderEvent.FogDensity(this, entitylivingbase, block, 0.1F, p_78468_2_);
+ net.minecraftforge.client.event.EntityViewRenderEvent.FogDensity event = new net.minecraftforge.client.event.EntityViewRenderEvent.FogDensity(this, entitylivingbase, block, p_78468_2_, 0.1F);
+
+ if (MinecraftForge.EVENT_BUS.post(event))
+ {