misc: fix stuff up to make SDL example work again

it still behaves weirdly, should probably find some
other example since I don't trust my own code.
This commit is contained in:
Mis012
2023-10-29 22:47:57 +01:00
parent 9025142bdd
commit 0b0cfed345
8 changed files with 25 additions and 11 deletions

View File

@@ -217,7 +217,7 @@ public class Entry extends Block implements JSONConvert<JSONObject> {
public TypeBlock getTypeBlock(){
return getParent(TypeBlock.class);
}
private String getPackageName(){
public String getPackageName(){
PackageBlock packageBlock = getPackageBlock();
if(packageBlock!=null){
return packageBlock.getName();