diff --git a/src/main/java/com/imaginarycode/minecraft/redisbungee/util/UUIDTranslator.java b/src/main/java/com/imaginarycode/minecraft/redisbungee/util/UUIDTranslator.java index 72ddc69..846e060 100644 --- a/src/main/java/com/imaginarycode/minecraft/redisbungee/util/UUIDTranslator.java +++ b/src/main/java/com/imaginarycode/minecraft/redisbungee/util/UUIDTranslator.java @@ -92,7 +92,7 @@ public final class UUIDTranslator { } // That didn't work. Let's ask Mojang. - if (!expensiveLookups) + if (!expensiveLookups || !ProxyServer.getInstance().getConfig().isOnlineMode()) return null; Map uuidMap1; @@ -147,7 +147,7 @@ public final class UUIDTranslator { } } - if (!expensiveLookups) + if (!expensiveLookups || !ProxyServer.getInstance().getConfig().isOnlineMode()) return null; // That didn't work. Let's ask Mojang. This call may fail, because Mojang is insane.