mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-10 07:07:03 +07:00
what
This commit is contained in:
parent
3f1ed6d4a4
commit
5c63ff889a
@ -68,9 +68,9 @@ public class CallSuperProcess extends AbstractProcessor{
|
||||
}
|
||||
|
||||
static class CodeAnalyzerTreeScanner extends TreePathScanner<Object, Trees>{
|
||||
private String methodName;
|
||||
private MethodTree method;
|
||||
private boolean callSuperUsed;
|
||||
String methodName;
|
||||
MethodTree method;
|
||||
boolean callSuperUsed;
|
||||
|
||||
@Override
|
||||
public Object visitClass(ClassTree classTree, Trees trees){
|
||||
@ -83,6 +83,9 @@ public class CallSuperProcess extends AbstractProcessor{
|
||||
|
||||
if(extendTree instanceof JCIdent){
|
||||
JCIdent tree = (JCIdent)extendTree;
|
||||
|
||||
if(tree == null || tree.sym == null) return super.visitClass(classTree, trees);
|
||||
|
||||
com.sun.tools.javac.code.Scope members = tree.sym.members();
|
||||
|
||||
if(checkScope(members))
|
||||
|
@ -718,7 +718,7 @@ public class HudFragment extends Fragment{
|
||||
Draw.color(Pal.darkerGray);
|
||||
Fill.poly(x + width/2f, y + height/2f, 6, height / Mathf.sqrt3);
|
||||
Draw.reset();
|
||||
Drawf.shadow(x + width/2f, y + height/2f, height * 1.1f);
|
||||
Drawf.shadow(x + width/2f, y + height/2f, height * 1.13f);
|
||||
}
|
||||
},
|
||||
new Table(t -> {
|
||||
|
Loading…
Reference in New Issue
Block a user