blob: e0966fa3ff8820e68fb379e762282bb14795e6cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package com.nijiko.coelho.iConomy;
import org.bukkit.Bukkit;
public class existCheck {
//We have to make sure the user exists!
public static boolean exist(String name){
if (name==null){
System.out.println("Essentials iConpomy Bridge - Whatever plugin is calling for users that are null is BROKEN!");
return false;
}
if (Bukkit.getServer().getPlayer(name)!=null){
return true;
}
return false;
}
}
|