Derp, save the file when we change it.
This commit is contained in:
parent
05b15cc9b8
commit
ce457fc7bf
@ -380,6 +380,12 @@ public class JailIO {
|
||||
flat.set("jails." + j.getName() + ".prisoners." + p.getName(), null);
|
||||
else
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user