Fix #99, we store records by uuid now.
This commit is contained in:
parent
7f7b688935
commit
bd6b9adefb
@ -1255,7 +1255,7 @@ public class JailIO {
|
|||||||
List<String> previous = records.getStringList(uuid);
|
List<String> previous = records.getStringList(uuid);
|
||||||
previous.add(Lang.RECORDENTRY.get(new String[] { date, username, jailer, String.valueOf(time), reason, uuid }));
|
previous.add(Lang.RECORDENTRY.get(new String[] { date, username, jailer, String.valueOf(time), reason, uuid }));
|
||||||
|
|
||||||
records.set(username, previous);
|
records.set(uuid, previous);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
records.save(new File(pl.getDataFolder(), "records.yml"));
|
records.save(new File(pl.getDataFolder(), "records.yml"));
|
||||||
|
Loading…
Reference in New Issue
Block a user