mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-18 06:38:30 +01:00
usercache filename
This commit is contained in:
parent
c25945ea13
commit
3b1cbdca09
@ -41,7 +41,7 @@ public class LuckPermissions implements PermissionProvider {
|
|||||||
|
|
||||||
private Optional<UUID> cachedUUID(String username) {
|
private Optional<UUID> cachedUUID(String username) {
|
||||||
try {
|
try {
|
||||||
BufferedReader reader = new BufferedReader(new FileReader(MinecraftServer.USER_CACHE_FILE));
|
BufferedReader reader = new BufferedReader(new FileReader("usercache.json"));
|
||||||
JSONArray cache = (JSONArray) parser.parse(reader);
|
JSONArray cache = (JSONArray) parser.parse(reader);
|
||||||
for (Object it : cache) {
|
for (Object it : cache) {
|
||||||
JSONObject user = (JSONObject) it;
|
JSONObject user = (JSONObject) it;
|
||||||
|
Loading…
Reference in New Issue
Block a user