36 lines
693 B
Java
36 lines
693 B
Java
package pw.yumc.MiaoLobby.api;
|
|
|
|
import org.bukkit.entity.Player;
|
|
|
|
import pw.yumc.MiaoLobby.Util;
|
|
import pw.yumc.YumCore.annotation.NotProguard;
|
|
|
|
/**
|
|
* Created with IntelliJ IDEA
|
|
*
|
|
* @author 喵♂呜
|
|
* Created on 2017/7/5 20:15.
|
|
*/
|
|
@NotProguard
|
|
public class API {
|
|
/**
|
|
* 延时传送玩家(不触发事件)
|
|
*
|
|
* @param player
|
|
* 玩家
|
|
*/
|
|
public static void delayTp(Player player) {
|
|
Util.delayTp(player);
|
|
}
|
|
|
|
/**
|
|
* 延时传送玩家(触发事件)
|
|
*
|
|
* @param player
|
|
* 玩家
|
|
*/
|
|
public static void delayTpTargetEvent(Player player) {
|
|
Util.delayTpTargetEvent(player);
|
|
}
|
|
}
|