Use getChildElement() rather than getNode() to resolve Node based skins.
This commit is contained in:
parent
6a1466b0bc
commit
6f39e2109c
1 changed files with 2 additions and 2 deletions
|
@ -79,10 +79,10 @@ public final class SkinManager implements FilenameFilter {
|
|||
// check if the skinset object is a HopObject (db based skin)
|
||||
// or a String (file based skin)
|
||||
if (skinset instanceof INode) {
|
||||
INode n = ((INode) skinset).getNode(prototype);
|
||||
INode n = (INode) ((INode) skinset).getChildElement(prototype);
|
||||
|
||||
if (n != null) {
|
||||
n = n.getNode(skinname);
|
||||
n = (INode) n.getChildElement(skinname);
|
||||
|
||||
if (n != null) {
|
||||
String skin = n.getString("skin");
|
||||
|
|
Loading…
Add table
Reference in a new issue