mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2025-09-01 11:26:56 +00:00
@ -264,6 +264,20 @@ public class Log {
|
||||
sender.sendMessage(prefix + msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sends this sender a message
|
||||
*
|
||||
* @param sender
|
||||
* 命令发送者
|
||||
* @param msg
|
||||
* 消息
|
||||
* @param objs
|
||||
* 参数
|
||||
*/
|
||||
public static void toSender(final CommandSender sender, final String msg, final Object... objs) {
|
||||
sender.sendMessage(prefix + String.format(msg, objs));
|
||||
}
|
||||
|
||||
/**
|
||||
* Sends this sender a message
|
||||
*
|
||||
|
Reference in New Issue
Block a user