This is 3.0.2
This commit is contained in:
parent
cde14c7100
commit
25f83034be
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.massivecraft.massivesuper</groupId>
|
<groupId>com.massivecraft.massivesuper</groupId>
|
||||||
<artifactId>MassiveSuper</artifactId>
|
<artifactId>MassiveSuper</artifactId>
|
||||||
<version>3.0.1</version>
|
<version>3.0.2</version>
|
||||||
<relativePath>../MassiveSuper</relativePath>
|
<relativePath>../MassiveSuper</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ public abstract class MoneyMixinAbstract implements MoneyMixin
|
|||||||
// OK! I'll have to calculate :P
|
// OK! I'll have to calculate :P
|
||||||
int factor = (int) Math.round(Math.pow(10, fractionalDigits));
|
int factor = (int) Math.round(Math.pow(10, fractionalDigits));
|
||||||
amount = amount * factor;
|
amount = amount * factor;
|
||||||
amount = Math.ceil(amount);
|
amount = moneyCeil(amount);
|
||||||
amount = amount / factor;
|
amount = amount / factor;
|
||||||
|
|
||||||
return amount;
|
return amount;
|
||||||
|
Loading…
Reference in New Issue
Block a user