mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 00:29:50 -04:00
Fix NullPointerException
This commit is contained in:
parent
361fafb3dc
commit
696eb1a620
@ -199,8 +199,8 @@ public class ControlData {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static float calculate(String math) {
|
private static float calculate(String math) {
|
||||||
setExpression(math);
|
|
||||||
if(builder.get() == null) bypassExpressionBuilder();
|
if(builder.get() == null) bypassExpressionBuilder();
|
||||||
|
setExpression(math);
|
||||||
return (float) builder.get().build().evaluate();
|
return (float) builder.get().build().evaluate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user