Prevent Nullpointer Exception in toString()
This commit is contained in:
parent
277d20ac2e
commit
caf5bd02af
1 changed files with 1 additions and 1 deletions
|
@ -157,6 +157,6 @@ public final class SkinFile implements Updatable {
|
|||
* @return ...
|
||||
*/
|
||||
public String toString() {
|
||||
return prototype.getName() + "/" + file.getName();
|
||||
return "[SkinFile "+prototype.getName() + "/" + name+"]";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue