From a48121dbad047ec5bf2314626a3ef50109c192f9 Mon Sep 17 00:00:00 2001 From: filoghost Date: Thu, 11 Jun 2020 18:24:58 +0200 Subject: [PATCH] Rename BungeeCordBridge --- .../me/filoghost/chestcommands/action/ChangeServerAction.java | 4 ++-- .../{bungee/BungeeCordUtils.java => BungeeCordBridge.java} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename Plugin/src/main/java/me/filoghost/chestcommands/bridge/{bungee/BungeeCordUtils.java => BungeeCordBridge.java} (92%) diff --git a/Plugin/src/main/java/me/filoghost/chestcommands/action/ChangeServerAction.java b/Plugin/src/main/java/me/filoghost/chestcommands/action/ChangeServerAction.java index ede31c2..a7233f0 100644 --- a/Plugin/src/main/java/me/filoghost/chestcommands/action/ChangeServerAction.java +++ b/Plugin/src/main/java/me/filoghost/chestcommands/action/ChangeServerAction.java @@ -16,7 +16,7 @@ package me.filoghost.chestcommands.action; import org.bukkit.entity.Player; -import me.filoghost.chestcommands.bridge.bungee.BungeeCordUtils; +import me.filoghost.chestcommands.bridge.BungeeCordBridge; public class ChangeServerAction extends Action { @@ -26,7 +26,7 @@ public class ChangeServerAction extends Action { @Override public void execute(Player player) { - BungeeCordUtils.connect(player, hasVariables ? getParsedAction(player) : action); + BungeeCordBridge.connect(player, hasVariables ? getParsedAction(player) : action); } } diff --git a/Plugin/src/main/java/me/filoghost/chestcommands/bridge/bungee/BungeeCordUtils.java b/Plugin/src/main/java/me/filoghost/chestcommands/bridge/BungeeCordBridge.java similarity index 92% rename from Plugin/src/main/java/me/filoghost/chestcommands/bridge/bungee/BungeeCordUtils.java rename to Plugin/src/main/java/me/filoghost/chestcommands/bridge/BungeeCordBridge.java index 5cd4b4b..a4a1939 100644 --- a/Plugin/src/main/java/me/filoghost/chestcommands/bridge/bungee/BungeeCordUtils.java +++ b/Plugin/src/main/java/me/filoghost/chestcommands/bridge/BungeeCordBridge.java @@ -12,7 +12,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package me.filoghost.chestcommands.bridge.bungee; +package me.filoghost.chestcommands.bridge; import org.bukkit.ChatColor; import org.bukkit.entity.Player; @@ -23,7 +23,7 @@ import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; import java.io.IOException; -public class BungeeCordUtils { +public class BungeeCordBridge { public static boolean connect(Player player, String server) { if (server.length() == 0) {