Fix two minor bugs that keep everything from working.
This commit is contained in:
parent
a8b9ffd154
commit
18dbec3dd8
1 changed files with 3 additions and 3 deletions
|
@ -313,8 +313,8 @@ public final class Prototype {
|
||||||
* residing in the prototype directory, not for skins files in
|
* residing in the prototype directory, not for skins files in
|
||||||
* other locations or database stored skins.
|
* other locations or database stored skins.
|
||||||
*/
|
*/
|
||||||
public Skin getSkin(String sname) throws IOException {
|
public Skin getSkin(String skinName) throws IOException {
|
||||||
return skinMap.getSkin(name);
|
return skinMap.getSkin(skinName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -448,7 +448,7 @@ public final class Prototype {
|
||||||
}
|
}
|
||||||
|
|
||||||
public Skin getSkin(Object key) throws IOException {
|
public Skin getSkin(Object key) throws IOException {
|
||||||
Resource res = (Resource) super.get(key);
|
Resource res = (Resource) get(key);
|
||||||
|
|
||||||
if (res != null) {
|
if (res != null) {
|
||||||
return Skin.getSkin(res, app);
|
return Skin.getSkin(res, app);
|
||||||
|
|
Loading…
Add table
Reference in a new issue