mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 15:17:02 -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) {
|
||||
setExpression(math);
|
||||
if(builder.get() == null) bypassExpressionBuilder();
|
||||
setExpression(math);
|
||||
return (float) builder.get().build().evaluate();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user