mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
BungeeCord Support
* Provides support for IP forwarding via BungeeCord. * Treats Bungee as Online Mode. By: md_5 <git@md-5.net>
This commit is contained in:
@@ -10,6 +10,15 @@
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.server.dedicated.DedicatedServer;
|
||||
import net.minecraft.util.StringUtil;
|
||||
@@ -62,7 +65,7 @@
|
||||
return new String[i];
|
||||
});
|
||||
|
||||
- if (server.usesAuthentication()) {
|
||||
+ if (server.usesAuthentication() || org.spigotmc.SpigotConfig.bungee) { // Spigot: bungee = online mode, for now.
|
||||
server.getProfileRepository().findProfilesByNames(astring, callback);
|
||||
} else {
|
||||
String[] astring1 = astring;
|
||||
@@ -85,7 +88,7 @@
|
||||
try {
|
||||
gameprofilebanlist.load();
|
||||
|
Reference in New Issue
Block a user