1
0
mirror of https://e.coding.net/circlecloud/YumCore.git synced 2024-12-26 07:18:52 +00:00

feat: 添加扩展获取命令发送者方法

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
502647092 2016-09-25 21:57:55 +08:00
parent ef15eefc5d
commit 36f79decfa

View File

@ -50,4 +50,11 @@ public class CommandArgument {
return sender;
}
/**
* @return 命令发送者(自动转换)
*/
@SuppressWarnings("unchecked")
public <CS> CS getSenderEx() {
return (CS) sender;
}
}