Warn when NMS versions don't match. Resolves #165

This commit is contained in:
unknown
2014-05-05 00:01:57 +02:00
parent 56b55eb3e2
commit 489549a0ea
4 changed files with 35 additions and 15 deletions

View File

@ -16,8 +16,9 @@ import org.bukkit.event.player.PlayerLoginEvent.Result;
public class TFM_ServerInterface
{
private static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd \'at\' HH:mm:ss z");
public static final String COMPILE_NMS_VERSION = "v1_7_R3";
public static final Pattern USERNAME_REGEX = Pattern.compile("^[\\w\\d_]{3,20}$");
private static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd \'at\' HH:mm:ss z");
public static void setOnlineMode(boolean mode)
{