Remove the last bits of Spout from our code.

This commit is contained in:
GJ 2013-09-16 12:05:39 -04:00
parent 6427a7dcdf
commit 1ec55c2d7e
4 changed files with 0 additions and 35 deletions

View File

@ -76,7 +76,6 @@ public class mcMMO extends JavaPlugin {
private boolean updateAvailable; private boolean updateAvailable;
/* Plugin Checks */ /* Plugin Checks */
private static boolean spoutEnabled;
private static boolean combatTagEnabled; private static boolean combatTagEnabled;
// Config Validation Check // Config Validation Check
@ -257,10 +256,6 @@ public class mcMMO extends JavaPlugin {
mcMMO.databaseManager = databaseManager; mcMMO.databaseManager = databaseManager;
} }
public static boolean isSpoutEnabled() {
return spoutEnabled;
}
public static boolean isCombatTagEnabled() { public static boolean isCombatTagEnabled() {
return combatTagEnabled; return combatTagEnabled;
} }

View File

@ -53,18 +53,6 @@ public class Repair {
return ""; return "";
} }
public static String[] getSpoutAnvilMessages(Material type) {
if (type == repairAnvilMaterial) {
return new String[] {LocaleLoader.getString("Repair.AnvilPlaced.Spout1"), LocaleLoader.getString("Repair.AnvilPlaced.Spout2")};
}
if (type == salvageAnvilMaterial) {
return new String[] {"[mcMMO] Anvil Placed", "Right click to salvage!"}; //TODO: Localize
}
return new String[] {"", ""};
}
/** /**
* Search the inventory for an item and return the index. * Search the inventory for an item and return the index.
* *

View File

@ -23,7 +23,6 @@ public class ZipLibrary {
private static File ConfigFile = new File(mcMMO.getMainDirectory() + "config.yml"); private static File ConfigFile = new File(mcMMO.getMainDirectory() + "config.yml");
private static File TreasuresFile = new File(mcMMO.getMainDirectory() + "treasures.yml"); private static File TreasuresFile = new File(mcMMO.getMainDirectory() + "treasures.yml");
private static File AdvancedConfigFile = new File(mcMMO.getMainDirectory() + "advanced.yml"); private static File AdvancedConfigFile = new File(mcMMO.getMainDirectory() + "advanced.yml");
private static File SpoutFile = new File(mcMMO.getMainDirectory() + "spout.yml");
private static File RepairFile = new File(mcMMO.getMainDirectory() + "repair.vanilla.yml"); private static File RepairFile = new File(mcMMO.getMainDirectory() + "repair.vanilla.yml");
public static void mcMMObackup() throws IOException { public static void mcMMObackup() throws IOException {
@ -59,10 +58,6 @@ public class ZipLibrary {
sources.add(ModFileDirectory); sources.add(ModFileDirectory);
} }
if (SpoutFile.exists()) {
sources.add(SpoutFile);
}
// Actually do something // Actually do something
mcMMO.p.debug("Backing up your mcMMO Configuration... "); mcMMO.p.debug("Backing up your mcMMO Configuration... ");

View File

@ -202,8 +202,6 @@ Mining.Blast.Other.On=[[GREEN]]{0}[[DARK_GREEN]] has used [[RED]]Blast Mining!
Mining.Blast.Refresh=[[GREEN]]Your [[YELLOW]]Blast Mining [[GREEN]]ability is refreshed! Mining.Blast.Refresh=[[GREEN]]Your [[YELLOW]]Blast Mining [[GREEN]]ability is refreshed!
#REPAIR #REPAIR
Repair.AnvilPlaced.Spout1=[mcMMO] Anvil Placed
Repair.AnvilPlaced.Spout2=Right click to repair!
Repair.Effect.0=Repair Repair.Effect.0=Repair
Repair.Effect.1=Repair Tools & Armor Repair.Effect.1=Repair Tools & Armor
Repair.Effect.10=Gold Repair ({0}+ SKILL) Repair.Effect.10=Gold Repair ({0}+ SKILL)
@ -700,17 +698,6 @@ Hardcore.Vampirism.Victim.Failure=[[GOLD]][mcMMO] [[YELLOW]]{0}[[GRAY]] was unab
Hardcore.Vampirism.Victim.Success=[[GOLD]][mcMMO] [[YELLOW]]{0}[[DARK_RED]] has stolen [[BLUE]]{1}[[DARK_RED]] levels from you! Hardcore.Vampirism.Victim.Success=[[GOLD]][mcMMO] [[YELLOW]]{0}[[DARK_RED]] has stolen [[BLUE]]{1}[[DARK_RED]] levels from you!
Hardcore.Vampirism.PercentageChanged=[[GOLD]][mcMMO] The stat leech percentage was changed to {0}. Hardcore.Vampirism.PercentageChanged=[[GOLD]][mcMMO] The stat leech percentage was changed to {0}.
#SPOUT
Spout.Donate=[[YELLOW]][mcMMO] Donate!
Spout.LevelUp.1=[[GREEN]]Level Up!
Spout.LevelUp.2=[[YELLOW]]{0}[[DARK_AQUA]] ([[GREEN]]{1}[[DARK_AQUA]])
Spout.Menu.Exit=[[GRAY]]Press ESCAPE to exit!
Spout.Menu.ExitButton=EXIT
Spout.Menu.HudButton.1=HUD Type: {0}
Spout.Menu.HudButton.2=Change your HUD style!
Spout.Menu.Title=[[GOLD]]~mcMMO Menu~
Spout.Title={0}\n[[YELLOW]]P[[GOLD]]lvl[[WHITE]].[[GREEN]]{1}
#MOTD #MOTD
MOTD.Donate=[[DARK_AQUA]]Donation Info: MOTD.Donate=[[DARK_AQUA]]Donation Info:
MOTD.Hardcore.Enabled=[[GOLD]][mcMMO] [[DARK_AQUA]]Hardcore Mode enabled: [[DARK_RED]]{0} MOTD.Hardcore.Enabled=[[GOLD]][mcMMO] [[DARK_AQUA]]Hardcore Mode enabled: [[DARK_RED]]{0}