testserver/CraftBukkit-Patches/0098-Treat-Bungee-as-Online...

23 lines
993 B
Diff
Raw Normal View History

2015-04-09 03:18:56 +00:00
From 2d39db50e9cb2f4334d52f77cd355f7ca8ef6bf3 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
2015-02-28 11:36:22 +00:00
index 31aa200..c1f8ff6 100644
--- 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);
- 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;
--
2014-11-28 01:17:45 +00:00
2.1.0