mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 03:15:28 +00:00
Fixed doubled base production modifier, fixed tooltips for frames with negative modifiers
This commit is contained in:
1 parent
6f399f1f96
commit
22ff1f569a
3 files changed
+8
-5
No files matched your search
@@ -84,10 +84,12 @@ public class EventHandlerApiculture {
|
||||
String formatted = color.toString();
|
||||
|
||||
// Set symbol for if this value is additive or multiplicative
|
||||
if (additive) {
|
||||
if (!additive) {
|
||||
formatted += " x";
|
||||
} else if (value >= 0.0F) {
|
||||
formatted += " +";
|
||||
} else {
|
||||
formatted += " x";
|
||||
formatted += " "; // the "-" will be applied, but we still need a space or minecraft will crash
|
||||
}
|
||||
|
||||
// trim trailing zeroes if no decimal-precision is needed
|
||||
|
||||
Reference in new issue
Block a user