mirror of
				https://hub.spigotmc.org/stash/scm/spigot/spigot.git
				synced 2025-11-01 09:09:35 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
From c25f1084a29f2e83225d99cbae679492dc35b039 Mon Sep 17 00:00:00 2001
 | 
						|
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
 | 
						|
index ce66cca..56fb152 100644
 | 
						|
--- a/src/main/java/net/minecraft/server/NameReferencingFileConverter.java
 | 
						|
+++ b/src/main/java/net/minecraft/server/NameReferencingFileConverter.java
 | 
						|
@@ -56,7 +56,7 @@ public class NameReferencingFileConverter {
 | 
						|
     private static void a(MinecraftServer minecraftserver, Collection collection, ProfileLookupCallback profilelookupcallback) {
 | 
						|
         String[] astring = (String[]) Iterators.toArray(Iterators.filter(collection.iterator(), new PredicateEmptyList()), String.class);
 | 
						|
 
 | 
						|
-        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;
 | 
						|
-- 
 | 
						|
1.9.1
 | 
						|
 |