Minor network packet handling tweaks

This commit is contained in:
Anuken
2021-03-04 17:58:28 -05:00
parent d863c971c2
commit c12b9ee3e3
4 changed files with 18 additions and 5 deletions

View File

@@ -71,12 +71,12 @@ public class RemoteProcess extends BaseProcessor{
//check for static
if(!element.is(Modifier.STATIC) || !element.is(Modifier.PUBLIC)){
err("All @Remote methods must be public and static: ", element);
err("All @Remote methods must be public and static", element);
}
//can't generate none methods
if(annotation.targets() == Loc.none){
err("A @Remote method's targets() cannot be equal to 'none':", element);
err("A @Remote method's targets() cannot be equal to 'none'", element);
}
//get and create class entry if needed