2015-05-25 12:05:40 +00:00
|
|
|
From e6c8db61471487f373de9bfc6f0fd186874270bb Mon Sep 17 00:00:00 2001
|
2014-07-21 20:46:54 +00:00
|
|
|
From: md_5 <git@md-5.net>
|
|
|
|
Date: Sat, 12 Apr 2014 21:23:58 +1000
|
|
|
|
Subject: [PATCH] Treat Bungee as Online Mode
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/NameReferencingFileConverter.java b/src/main/java/net/minecraft/server/NameReferencingFileConverter.java
|
2015-05-09 20:23:26 +00:00
|
|
|
index 51bc8bd..d67539c 100644
|
2014-07-21 20:46:54 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/NameReferencingFileConverter.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/NameReferencingFileConverter.java
|
2015-02-28 11:36:22 +00:00
|
|
|
@@ -63,7 +63,7 @@ public class NameReferencingFileConverter {
|
|
|
|
}
|
|
|
|
}), String.class);
|
2014-07-21 20:46:54 +00:00
|
|
|
|
|
|
|
- if (minecraftserver.getOnlineMode()) {
|
|
|
|
+ if (minecraftserver.getOnlineMode() || org.spigotmc.SpigotConfig.bungee) { // Spigot: bungee = online mode, for now.
|
|
|
|
minecraftserver.getGameProfileRepository().findProfilesByNames(astring, Agent.MINECRAFT, profilelookupcallback);
|
|
|
|
} else {
|
|
|
|
String[] astring1 = astring;
|
|
|
|
--
|
2015-05-09 20:23:26 +00:00
|
|
|
2.1.4
|
2014-07-21 20:46:54 +00:00
|
|
|
|