mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-19 11:49:05 +00:00
format all the things!
This commit is contained in:
1 parent
54ec75fd3d
commit
b36c6dade6
377 files changed
+6833
-6772
No files matched your search
+4
-4
@@ -16,10 +16,10 @@ import stanhebben.zenscript.util.ZenPosition;
|
||||
public class ExpressionArithmeticUnary extends Expression {
|
||||
private final Expression base;
|
||||
private final OperatorType operator;
|
||||
|
||||
|
||||
public ExpressionArithmeticUnary(ZenPosition position, OperatorType operator, Expression base) {
|
||||
super(position);
|
||||
|
||||
|
||||
this.base = base;
|
||||
this.operator = operator;
|
||||
}
|
||||
@@ -32,7 +32,7 @@ public class ExpressionArithmeticUnary extends Expression {
|
||||
@Override
|
||||
public void compile(boolean result, IEnvironmentMethod environment) {
|
||||
base.compile(result, environment);
|
||||
|
||||
|
||||
MethodOutput output = environment.getOutput();
|
||||
if (result) {
|
||||
ZenType type = base.getType();
|
||||
@@ -69,7 +69,7 @@ public class ExpressionArithmeticUnary extends Expression {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
environment.error(getPosition(), "Invalid operation");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user