Fixes idle bow sprite

This commit is contained in:
Glassmaker committed 2014-07-14 01:54:03 +03:00
1 parent af27bcdada
commit 0f0af93d1a
1 file changed
+4
@@ -521,6 +521,10 @@ public abstract class BowBase extends ToolCore
int drawTime = toolTag.getInteger("DrawSpeed");
float flightSpeed = toolTag.getFloat("FlightSpeed");
drawTime *= flightSpeed;
if (usingItem == null)
{
return getIcon(stack, renderPass);
}
if (useTime >= drawTime - 2)
{
return getIcon3(stack, renderPass);