Minor cleanup on RenderDart
This commit is contained in:
parent
51337af9f9
commit
b0037b8fdf
|
@ -1,3 +1,11 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright 2015, the Biomes O' Plenty Team
|
||||||
|
*
|
||||||
|
* This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License.
|
||||||
|
*
|
||||||
|
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
package biomesoplenty.common.entities.projectiles;
|
package biomesoplenty.common.entities.projectiles;
|
||||||
|
|
||||||
import net.minecraft.client.renderer.GlStateManager;
|
import net.minecraft.client.renderer.GlStateManager;
|
||||||
|
@ -20,9 +28,9 @@ public class RenderDart extends Render
|
||||||
|
|
||||||
protected ResourceLocation[] textures;
|
protected ResourceLocation[] textures;
|
||||||
|
|
||||||
public RenderDart(RenderManager p_i46193_1_)
|
public RenderDart(RenderManager renderManager)
|
||||||
{
|
{
|
||||||
super(p_i46193_1_);
|
super(renderManager);
|
||||||
int n = ItemDart.DartType.values().length;
|
int n = ItemDart.DartType.values().length;
|
||||||
this.textures = new ResourceLocation[n];
|
this.textures = new ResourceLocation[n];
|
||||||
for (int i = 0; i < n; ++i)
|
for (int i = 0; i < n; ++i)
|
||||||
|
|
Loading…
Reference in New Issue