Derp, save the file when we change it.

This commit is contained in:
graywolf336 2013-12-28 15:42:06 -06:00
parent 05b15cc9b8
commit ce457fc7bf

View File

@ -380,6 +380,12 @@ public class JailIO {
flat.set("jails." + j.getName() + ".prisoners." + p.getName(), null); flat.set("jails." + j.getName() + ".prisoners." + p.getName(), null);
else else
flat.set("jails." + j.getName() + "." + c.getName() + ".prisoner", null); flat.set("jails." + j.getName() + "." + c.getName() + ".prisoner", null);
try {
flat.save(new File(pl.getDataFolder(), "data.yml"));
} catch (IOException e) {
pl.getLogger().severe("Unable to save the Jail data: " + e.getMessage());
}
break; break;
} }
} }