Fixed stupid bug in SkinFile constructor.
This commit is contained in:
parent
7463553a95
commit
2c9e42bcb3
1 changed files with 5 additions and 5 deletions
|
@ -26,7 +26,7 @@ public final class SkinFile implements Updatable {
|
||||||
this.prototype = proto;
|
this.prototype = proto;
|
||||||
this.file = file;
|
this.file = file;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
app = proto.app;
|
this.app = proto.app;
|
||||||
skin = null;
|
skin = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,9 +37,9 @@ public final class SkinFile implements Updatable {
|
||||||
*/
|
*/
|
||||||
public SkinFile (String body, String name, Prototype proto) {
|
public SkinFile (String body, String name, Prototype proto) {
|
||||||
this.prototype = proto;
|
this.prototype = proto;
|
||||||
app = proto.app;
|
this.app = proto.app;
|
||||||
name = name;
|
this.name = name;
|
||||||
file = null;
|
this.file = null;
|
||||||
skin = new Skin (body, app);
|
skin = new Skin (body, app);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ public final class SkinFile implements Updatable {
|
||||||
this.app = app;
|
this.app = app;
|
||||||
this.file = file;
|
this.file = file;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
prototype = null;
|
this.prototype = null;
|
||||||
skin = null;
|
skin = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue