mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-10-31 18:48:01 +00:00
Seamlessly support offline-mode more effectively by always skipping Mojang lookups.
This commit is contained in:
parent
665d73af0c
commit
d68b2713c4
@ -92,7 +92,7 @@ public final class UUIDTranslator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// That didn't work. Let's ask Mojang.
|
// That didn't work. Let's ask Mojang.
|
||||||
if (!expensiveLookups)
|
if (!expensiveLookups || !ProxyServer.getInstance().getConfig().isOnlineMode())
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
Map<String, UUID> uuidMap1;
|
Map<String, UUID> uuidMap1;
|
||||||
@ -147,7 +147,7 @@ public final class UUIDTranslator {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!expensiveLookups)
|
if (!expensiveLookups || !ProxyServer.getInstance().getConfig().isOnlineMode())
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
// That didn't work. Let's ask Mojang. This call may fail, because Mojang is insane.
|
// That didn't work. Let's ask Mojang. This call may fail, because Mojang is insane.
|
||||||
|
Loading…
Reference in New Issue
Block a user