Rename BungeeCordBridge

This commit is contained in:
filoghost 2020-06-11 18:24:58 +02:00
parent 37d46e6124
commit a48121dbad
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}
}

View File

@ -12,7 +12,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
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) {