1.1.3
T2CodeLib update to API Version 13.0 Bugfix: - Hardcode message inserted in language file
This commit is contained in:
@@ -30,10 +30,10 @@ public class BCommandSenderReciver {
|
||||
}
|
||||
if (sender instanceof Player) {
|
||||
Player player = (Player) sender;
|
||||
player.sendPluginMessage(Main.getPlugin(), "t2codealias:bungee", stream.toByteArray());
|
||||
player.sendPluginMessage(Main.getPlugin(), "t2c:alias", stream.toByteArray());
|
||||
}else {
|
||||
for(Player player : Bukkit.getOnlinePlayers()){
|
||||
player.sendPluginMessage(Main.getPlugin(), "t2codealias:bungee", stream.toByteArray());
|
||||
player.sendPluginMessage(Main.getPlugin(), "t2c:alias", stream.toByteArray());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user