Fix incorrect bugfix that didn't fix a crash and broke bow animations

This commit is contained in:
Bernhard Bonigl committed 2015-02-21 21:48:34 +01:00
1 parent 8de3882dce
commit 497150683c
2 files changed
+5 -1

No files matched your search

@@ -282,7 +282,7 @@ public abstract class ProjectileWeapon extends ToolCore implements IAccuracy, IW
float count = icons.get(-1).length - 1;
int step = Math.round(progress * count);
step = Math.min(0, step);
step = Math.max(0, step);
if(icons.containsKey(id))
return icons.get(id)[step];