mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Change windup-modifier to not allow going below 0.25 (was possible if the last application was more)
This commit is contained in:
1 parent
1fe8bb26f3
commit
911755bef7
1 file changed
+1
@@ -77,6 +77,7 @@ public class ModWindup extends ModRedstone {
|
||||
|
||||
int baseDrawSpeed = tags.getInteger("BaseDrawSpeed");
|
||||
int drawSpeed = baseDrawSpeed - (int)boost;
|
||||
drawSpeed = Math.max(5, drawSpeed); // 0.25f is the minimum
|
||||
tags.setInteger("DrawSpeed", drawSpeed);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user