diff options
Diffstat (limited to 'nms-patches/UserCache.patch')
-rw-r--r-- | nms-patches/UserCache.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/nms-patches/UserCache.patch b/nms-patches/UserCache.patch index 1433fce9..622bff44 100644 --- a/nms-patches/UserCache.patch +++ b/nms-patches/UserCache.patch @@ -1,15 +1,15 @@ --- a/net/minecraft/server/UserCache.java +++ b/net/minecraft/server/UserCache.java -@@ -42,7 +42,7 @@ - public static final SimpleDateFormat a = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z"); - private final Map<String, UserCache.UserCacheEntry> c = Maps.newHashMap(); - private final Map<UUID, UserCache.UserCacheEntry> d = Maps.newHashMap(); -- private final LinkedList<GameProfile> e = Lists.newLinkedList(); -+ private final java.util.Deque<GameProfile> e = new java.util.concurrent.LinkedBlockingDeque<GameProfile>(); // CraftBukkit - private final MinecraftServer f; +@@ -44,7 +44,7 @@ + private static boolean c; + private final Map<String, UserCache.UserCacheEntry> d = Maps.newHashMap(); + private final Map<UUID, UserCache.UserCacheEntry> e = Maps.newHashMap(); +- private final LinkedList<GameProfile> f = Lists.newLinkedList(); ++ private final java.util.Deque<GameProfile> f = new java.util.concurrent.LinkedBlockingDeque<GameProfile>(); // CraftBukkit + private final GameProfileRepository g; protected final Gson b; - private final File g; -@@ -323,11 +323,11 @@ + private final File h; +@@ -335,11 +335,11 @@ } } |