Actually assign the ManagedFile to file

This commit is contained in:
md678685 2018-10-13 15:38:45 +01:00
parent 3262143c73
commit feba535637

View File

@ -46,7 +46,7 @@ public class ItemDb implements IConf, net.ess3.api.IItemDb {
@Override
public void reloadConfig() {
if (file == null) {
new ManagedFile("items.json", ess);
file = new ManagedFile("items.json", ess);
}
this.rebuild();