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
@@ -20,10 +20,10 @@ import static stanhebben.zenscript.util.ZenTypeUtil.internal;
|
||||
public class ExpressionMapContains extends Expression {
|
||||
private final Expression map;
|
||||
private final Expression key;
|
||||
|
||||
|
||||
public ExpressionMapContains(ZenPosition position, Expression map, Expression key) {
|
||||
super(position);
|
||||
|
||||
|
||||
this.map = map;
|
||||
this.key = key;
|
||||
}
|
||||
@@ -38,7 +38,7 @@ public class ExpressionMapContains extends Expression {
|
||||
if (result) {
|
||||
map.compile(result, environment);
|
||||
key.compile(result, environment);
|
||||
|
||||
|
||||
environment.getOutput().invokeInterface(internal(Map.class), "containsKey", "()Ljava/lang/Object;");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user