code changes | update status 80%
This commit is contained in:
@@ -30,10 +30,10 @@ public class BCommandSenderReciver {
|
||||
}
|
||||
if (sender instanceof Player) {
|
||||
Player player = (Player) sender;
|
||||
player.sendPluginMessage(Main.plugin, "t2codealias:bungee", stream.toByteArray());
|
||||
player.sendPluginMessage(Main.getPlugin(), "t2codealias:bungee", stream.toByteArray());
|
||||
}else {
|
||||
for(Player player : Bukkit.getOnlinePlayers()){
|
||||
player.sendPluginMessage(Main.plugin, "t2codealias:bungee", stream.toByteArray());
|
||||
player.sendPluginMessage(Main.getPlugin(), "t2codealias:bungee", stream.toByteArray());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user