Added enemy lights setting
This commit is contained in:
@@ -77,10 +77,10 @@ public class EntityProcess extends BaseProcessor{
|
||||
if(elem.is(Modifier.ABSTRACT) || elem.is(Modifier.NATIVE)) continue;
|
||||
//get all statements in the method, store them
|
||||
methodBlocks.put(elem.descString(), elem.tree().getBody().toString()
|
||||
//replace all self() invocations with this
|
||||
.replaceAll("this\\.<(.*)>self\\(\\)", "this")
|
||||
.replaceAll("self\\(\\)", "this")
|
||||
.replaceAll(" yield ", "")
|
||||
.replaceAll("this\\.<(.*)>self\\(\\)", "this") //fix parameterized self() calls
|
||||
.replaceAll("self\\(\\)", "this") //fix self() calls
|
||||
.replaceAll(" yield ", "") //fix enchanced switch
|
||||
.replaceAll("\\/\\*missing\\*\\/", "var") //fix vars
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user