Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
Kas-tle authored Sep 25, 2023
1 parent f296c55 commit d97483f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bungee/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ relocate("org.yaml")
// these dependencies are already present on the platform
provided("com.github.SpigotMC.BungeeCord", "bungeecord-proxy", bungeeCommit)
provided("com.google.code.gson", "gson", gsonVersion)
provided("com.google.guava", "guava", guavaVersion)
provided("com.google.guava", "guava", guavaVersion)
2 changes: 1 addition & 1 deletion database/mongo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ dependencies {
description = "The Floodgate database extension for MongoDB"

relocate("com.mongodb")
relocate("org.bson")
relocate("org.bson")
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ public final class SpigotDataHandler extends CommonDataHandler {
private boolean proxyData;

public SpigotDataHandler(
FloodgateHandshakeHandler handshakeHandler,
FloodgateConfig config,
AttributeKey<String> kickMessageAttribute) {
FloodgateHandshakeHandler handshakeHandler,
FloodgateConfig config,
AttributeKey<String> kickMessageAttribute) {
super(handshakeHandler, config, kickMessageAttribute, new PacketBlocker());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public class ClassNames {
String version = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3];
SPIGOT_MAPPING_PREFIX = "net.minecraft.server." + version;


// SpigotSkinApplier
Class<?> craftPlayerClass = ReflectionUtils.getClass(
"org.bukkit.craftbukkit." + version + ".entity.CraftPlayer");
Expand All @@ -102,6 +103,7 @@ public class ClassNames {

String nmsPackage = SPIGOT_MAPPING_PREFIX + '.';


// SpigotInjector
MINECRAFT_SERVER = getClassOrFallback(
"net.minecraft.server.MinecraftServer",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ public final class VelocityServerDataHandler extends ChannelOutboundHandlerAdapt
Class<?> configClass = getPrefixedClass("config.VelocityConfiguration");

GET_FORWARDING_MODE = getMethod(configClass, "getPlayerInfoForwardingMode");
checkNotNull(GET_FORWARDING_MODE,
"getPlayerInfoForwardingMode in VelocityConfiguration cannot be null");
checkNotNull(GET_FORWARDING_MODE, "getPlayerInfoForwardingMode in VelocityConfiguration cannot be null");

Class<?> serverConnection = getPrefixedClass("connection.backend.VelocityServerConnection");

Expand Down

0 comments on commit d97483f

Please sign in to comment.