Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(args[0].equalsIgnoreCase("read")) {
- List<String> list = plugin.getConfig().getStringList("staffmail");
- if (list.isEmpty()) {
- plugin.sendMessage(player, "&4There is no mail.");
- }
- else {
- for(String s : list){
- plugin.sendMessage(player, s);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement