mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2025-09-01 11:26:56 +00:00
@ -90,7 +90,9 @@ public class C {
|
||||
* @param json
|
||||
* Json信息
|
||||
* @param type
|
||||
* 类型(0=>消息 2=>ActionBar)
|
||||
* 类型
|
||||
* 0. 消息
|
||||
* 2. ActionBar
|
||||
*/
|
||||
public static void sendJson(org.bukkit.entity.Player receivingPacket, String json, int type) {
|
||||
Object packet;
|
||||
|
@ -83,7 +83,7 @@ public class CommandKit {
|
||||
* 命令名称
|
||||
* @param aliases
|
||||
* 别名
|
||||
* @return
|
||||
* @return {@link PluginCommand}
|
||||
*/
|
||||
public static PluginCommand create(JavaPlugin plugin, String name, String... aliases) {
|
||||
try {
|
||||
|
@ -550,6 +550,7 @@ public class Reflect {
|
||||
*
|
||||
* @param <T>
|
||||
* A convenience generic parameter for automatic unsafe casting
|
||||
* @return cast Type Object
|
||||
*/
|
||||
public <T> T get() {
|
||||
return (T) object;
|
||||
|
Reference in New Issue
Block a user