Fix #99, we store records by uuid now.

This commit is contained in:
graywolf336 2016-03-22 11:22:52 -05:00
parent 7f7b688935
commit bd6b9adefb

View File

@ -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"));