mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 10:47:33 +02:00
Fix recursive call for bungeecord
This commit is contained in:
@ -89,7 +89,7 @@ public class CrackedCommand implements CommandExecutor {
|
|||||||
|
|
||||||
private void notifiyBungeeCord(CommandSender sender, String target) {
|
private void notifiyBungeeCord(CommandSender sender, String target) {
|
||||||
if (sender instanceof Player) {
|
if (sender instanceof Player) {
|
||||||
notifiyBungeeCord(sender, target);
|
notifiyBungeeCord((Player) sender, target);
|
||||||
} else {
|
} else {
|
||||||
//todo: add console support
|
//todo: add console support
|
||||||
// Player firstPlayer = Iterables.getFirst(Bukkit.getOnlinePlayers(), null);
|
// Player firstPlayer = Iterables.getFirst(Bukkit.getOnlinePlayers(), null);
|
||||||
|
@ -96,7 +96,7 @@ public class PremiumCommand implements CommandExecutor {
|
|||||||
|
|
||||||
private void notifiyBungeeCord(CommandSender sender, String target) {
|
private void notifiyBungeeCord(CommandSender sender, String target) {
|
||||||
if (sender instanceof Player) {
|
if (sender instanceof Player) {
|
||||||
notifiyBungeeCord(sender, target);
|
notifiyBungeeCord((Player) sender, target);
|
||||||
} else {
|
} else {
|
||||||
//todo: add console support
|
//todo: add console support
|
||||||
// Player firstPlayer = Iterables.getFirst(Bukkit.getOnlinePlayers(), null);
|
// Player firstPlayer = Iterables.getFirst(Bukkit.getOnlinePlayers(), null);
|
||||||
|
Reference in New Issue
Block a user