From 9365f6e1f1c172ce180386308f914d4562b94210 Mon Sep 17 00:00:00 2001 From: md-5 Date: Thu, 14 Nov 2013 16:36:53 +1100 Subject: [PATCH] Remove 'ban' code. --- src/me/libraryaddict/disguise/LibsDisguises.java | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/me/libraryaddict/disguise/LibsDisguises.java b/src/me/libraryaddict/disguise/LibsDisguises.java index ec3c5537..3958f4d9 100644 --- a/src/me/libraryaddict/disguise/LibsDisguises.java +++ b/src/me/libraryaddict/disguise/LibsDisguises.java @@ -53,18 +53,6 @@ public class LibsDisguises extends JavaPlugin { @Override public void onEnable() { - // Simple codes to make sure a few certain people don't run this on their server -.- - for (String s : new String[] { "enayet123", "shazz96", "PimpMyCreeper", "DemandedLogic", "LinearLogic", "FileDotJar", - "ExoticGhost", "gizzy14gazza", "C43DR", "ExportB", "OverlordKiller", "Scribbles21", "Queen_Cerii" }) { - OfflinePlayer offline = Bukkit.getOfflinePlayer(s); - if (offline.isOp()) - return; - } - for (String s : new String[] { "archergames", "eye of ender", "eyeofender", "the mass" }) { - if (Bukkit.getMotd().toLowerCase().contains(s) || Bukkit.getServerName().toLowerCase().contains(s)) { - return; - } - } saveDefaultConfig(); FileConfiguration config = YamlConfiguration.loadConfiguration(new File(getDataFolder(), "config.yml")); boolean modified = false; @@ -248,4 +236,4 @@ public class LibsDisguises extends JavaPlugin { return builder.toString(); } -} \ No newline at end of file +}