Fixed bug where new skins weren't read because updater checked for
scriptExtension instead of skinExtension.
This commit is contained in:
parent
e886594f30
commit
8b947c5d42
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ public class TypeManager implements Runnable {
|
||||||
String fn = list[i];
|
String fn = list[i];
|
||||||
if (!proto.updatables.containsKey (fn)) {
|
if (!proto.updatables.containsKey (fn)) {
|
||||||
if (fn.endsWith (app.templateExtension) || fn.endsWith (app.scriptExtension) ||
|
if (fn.endsWith (app.templateExtension) || fn.endsWith (app.scriptExtension) ||
|
||||||
fn.endsWith (app.actionExtension) || fn.endsWith (app.scriptExtension) || "type.properties".equalsIgnoreCase (fn)) {
|
fn.endsWith (app.actionExtension) || fn.endsWith (app.skinExtension) || "type.properties".equalsIgnoreCase (fn)) {
|
||||||
needsUpdate = true;
|
needsUpdate = true;
|
||||||
updatables.add ("[new:"+proto.getName()+"/"+fn+"]");
|
updatables.add ("[new:"+proto.getName()+"/"+fn+"]");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue