add task block
complete tp
This commit is contained in:
@ -6,9 +6,11 @@ import cn.nukkit.utils.TextFormat;
|
||||
public class ToastUtils {
|
||||
|
||||
public static final int INFO_TYPE_ERROR = 0;
|
||||
public static final int INFO_TYPE_INFO = 1;
|
||||
public static final int INFO_TYPE_WARNING = 2;
|
||||
|
||||
|
||||
private static String[] infoTypeArr = new String[]{"&4"};
|
||||
private static String[] infoTypeArr = new String[]{"&", "&b", "&e"};
|
||||
|
||||
public static void Show(Player player, int infoType, String info) {
|
||||
player.sendPopup(TextFormat.colorize(infoTypeArr[infoType] + info));
|
||||
|
Reference in New Issue
Block a user