usercache filename

This commit is contained in:
PssbleTrngle 2022-06-21 12:07:48 +02:00
parent c25945ea13
commit 3b1cbdca09

View File

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