mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
Fix incorrect bugfix that didn't fix a crash and broke bow animations
This commit is contained in:
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];
|
||||
|
||||
Reference in new issue
Block a user