mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 19:07:40 +01:00
com.mojang.{authlib,serialization}
This commit is contained in:
parent
3fbf7aa159
commit
363d5bcf57
@ -1,6 +1,6 @@
|
||||
--- a/com/mojang/authlib/yggdrasil/YggdrasilGameProfileRepository.java
|
||||
+++ b/com/mojang/authlib/yggdrasil/YggdrasilGameProfileRepository.java
|
||||
@@ -44,6 +44,7 @@
|
||||
@@ -44,6 +_,7 @@
|
||||
.collect(Collectors.toSet());
|
||||
|
||||
final int page = 0;
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
for (final List<String> request : Iterables.partition(criteria, ENTRIES_PER_PAGE)) {
|
||||
final List<String> normalizedRequest = request.stream().map(YggdrasilGameProfileRepository::normalizeName).toList();
|
||||
@@ -75,6 +76,12 @@
|
||||
@@ -75,6 +_,12 @@
|
||||
LOGGER.debug("Couldn't find profile {}", name);
|
||||
callback.onProfileLookupFailed(name, new ProfileNotFoundException("Server did not find the requested profile"));
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
--- a/com/mojang/serialization/Dynamic.java
|
||||
+++ b/com/mojang/serialization/Dynamic.java
|
||||
@@ -19,6 +19,7 @@
|
||||
@@ -19,6 +_,7 @@
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public class Dynamic<T> extends DynamicLike<T> {
|
||||
@ -8,7 +8,7 @@
|
||||
private final T value;
|
||||
|
||||
public Dynamic(final DynamicOps<T> ops) {
|
||||
@@ -120,7 +121,7 @@
|
||||
@@ -120,7 +_,7 @@
|
||||
return new OptionalDynamic<>(ops, ops.getMap(value).flatMap(m -> {
|
||||
final T value = m.get(key);
|
||||
if (value == null) {
|
Loading…
Reference in New Issue
Block a user