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