Properly wrap skin return value in createSkin().
This commit is contained in:
parent
1e63855c80
commit
75f6e3515b
1 changed files with 3 additions and 3 deletions
|
@ -186,7 +186,7 @@ public class GlobalObject extends ImporterTopLevel {
|
||||||
* @return a parsed skin object
|
* @return a parsed skin object
|
||||||
*/
|
*/
|
||||||
public Object createSkin(String str) {
|
public Object createSkin(String str) {
|
||||||
return new Skin(str, app);
|
return Context.toObject(new Skin(str, app), this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue