It compiles
This commit is contained in:
@@ -473,10 +473,10 @@ index 89db31061fcc3420bc8e668533a4051cdbd12253..191a74bd9b894f9d64d0a55747cb17e0
|
||||
GameProfileRepository gameprofilerepository = yggdrasilauthenticationservice.createProfileRepository();
|
||||
UserCache usercache = new UserCache(gameprofilerepository, new File(file, MinecraftServer.b.getName()));
|
||||
diff --git a/src/main/java/net/minecraft/server/players/UserCache.java b/src/main/java/net/minecraft/server/players/UserCache.java
|
||||
index 85ca2a3b19d27a0dbe1c8dee6bd5b31ae11bbce2..bc3deb1d9710c744388ce6e89a6f5f4f3f05238d 100644
|
||||
index 6c349128bdedc53003f043c9cb1210b4666aee33..e3801a4a13d0bac7816a1350d3799a9815481c4b 100644
|
||||
--- a/src/main/java/net/minecraft/server/players/UserCache.java
|
||||
+++ b/src/main/java/net/minecraft/server/players/UserCache.java
|
||||
@@ -43,7 +43,7 @@ public class UserCache {
|
||||
@@ -44,7 +44,7 @@ public class UserCache {
|
||||
|
||||
private static final Logger LOGGER = LogManager.getLogger();
|
||||
private static boolean b;
|
||||
@@ -485,7 +485,7 @@ index 85ca2a3b19d27a0dbe1c8dee6bd5b31ae11bbce2..bc3deb1d9710c744388ce6e89a6f5f4f
|
||||
private final Map<UUID, UserCache.UserCacheEntry> d = Maps.newConcurrentMap();
|
||||
private final GameProfileRepository e;
|
||||
private final Gson f = (new GsonBuilder()).create();
|
||||
@@ -107,6 +107,7 @@ public class UserCache {
|
||||
@@ -108,6 +108,7 @@ public class UserCache {
|
||||
return UserCache.b;
|
||||
}
|
||||
|
||||
@@ -493,7 +493,7 @@ index 85ca2a3b19d27a0dbe1c8dee6bd5b31ae11bbce2..bc3deb1d9710c744388ce6e89a6f5f4f
|
||||
public synchronized void a(GameProfile gameprofile) { // Paper - synchronize
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
|
||||
@@ -156,6 +157,13 @@ public class UserCache {
|
||||
@@ -157,6 +158,13 @@ public class UserCache {
|
||||
return gameprofile;
|
||||
}
|
||||
|
||||
@@ -507,7 +507,7 @@ index 85ca2a3b19d27a0dbe1c8dee6bd5b31ae11bbce2..bc3deb1d9710c744388ce6e89a6f5f4f
|
||||
@Nullable
|
||||
public GameProfile getProfile(UUID uuid) {
|
||||
UserCache.UserCacheEntry usercache_usercacheentry = (UserCache.UserCacheEntry) this.d.get(uuid);
|
||||
@@ -338,7 +346,7 @@ public class UserCache {
|
||||
@@ -339,7 +347,7 @@ public class UserCache {
|
||||
|
||||
static class UserCacheEntry {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user