mirror of
https://github.com/filoghost/ChestCommands.git
synced 2024-11-22 18:16:14 +01:00
Rename BungeeCordBridge
This commit is contained in:
parent
37d46e6124
commit
a48121dbad
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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) {
|
Loading…
Reference in New Issue
Block a user