mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-09-08 00:46:15 +02:00
Check for permissions instead of isOp() (#6)
This commit is contained in:
@@ -28,8 +28,7 @@ import java.util.Arrays;
|
||||
public class Msg {
|
||||
|
||||
public static void msg(CommandSender s, String... msg) {
|
||||
Arrays.stream(msg).forEach(text ->
|
||||
s.sendMessage(ChatColor.translateAlternateColorCodes('&', text)));
|
||||
Arrays.stream(msg).forEach(text -> s.sendMessage(ChatColor.translateAlternateColorCodes('&', text)));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user