2021-04-07 07:03:29 +02:00
|
|
|
--- a/net/minecraft/server/players/UserCache.java
|
|
|
|
+++ b/net/minecraft/server/players/UserCache.java
|
2023-12-26 04:33:31 +01:00
|
|
|
@@ -85,7 +85,7 @@
|
2023-12-05 17:40:00 +01:00
|
|
|
}
|
2021-04-07 07:03:29 +02:00
|
|
|
|
2023-12-05 17:40:00 +01:00
|
|
|
public void onProfileLookupFailed(String s1, Exception exception) {
|
|
|
|
- atomicreference.set((Object) null);
|
|
|
|
+ atomicreference.set(null); // CraftBukkit - decompile error
|
|
|
|
}
|
|
|
|
};
|
2021-04-07 07:03:29 +02:00
|
|
|
|
2023-12-26 04:33:31 +01:00
|
|
|
@@ -142,7 +142,7 @@
|
|
|
|
usercache_usercacheentry.setLastAccess(this.getNextOperation());
|
|
|
|
optional = Optional.of(usercache_usercacheentry.getProfile());
|
|
|
|
} else {
|
|
|
|
- optional = lookupGameProfile(this.profileRepository, s1);
|
|
|
|
+ optional = lookupGameProfile(this.profileRepository, s); // CraftBukkit - use correct case for offline players
|
|
|
|
if (optional.isPresent()) {
|
|
|
|
this.add((GameProfile) optional.get());
|
|
|
|
flag = false;
|