mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 06:36:45 +01:00
Remove the last bits of Spout from our code.
This commit is contained in:
parent
6427a7dcdf
commit
1ec55c2d7e
@ -76,7 +76,6 @@ public class mcMMO extends JavaPlugin {
|
||||
private boolean updateAvailable;
|
||||
|
||||
/* Plugin Checks */
|
||||
private static boolean spoutEnabled;
|
||||
private static boolean combatTagEnabled;
|
||||
|
||||
// Config Validation Check
|
||||
@ -257,10 +256,6 @@ public class mcMMO extends JavaPlugin {
|
||||
mcMMO.databaseManager = databaseManager;
|
||||
}
|
||||
|
||||
public static boolean isSpoutEnabled() {
|
||||
return spoutEnabled;
|
||||
}
|
||||
|
||||
public static boolean isCombatTagEnabled() {
|
||||
return combatTagEnabled;
|
||||
}
|
||||
|
@ -53,18 +53,6 @@ public class Repair {
|
||||
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.
|
||||
*
|
||||
|
@ -23,7 +23,6 @@ public class ZipLibrary {
|
||||
private static File ConfigFile = new File(mcMMO.getMainDirectory() + "config.yml");
|
||||
private static File TreasuresFile = new File(mcMMO.getMainDirectory() + "treasures.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");
|
||||
|
||||
public static void mcMMObackup() throws IOException {
|
||||
@ -59,10 +58,6 @@ public class ZipLibrary {
|
||||
sources.add(ModFileDirectory);
|
||||
}
|
||||
|
||||
if (SpoutFile.exists()) {
|
||||
sources.add(SpoutFile);
|
||||
}
|
||||
|
||||
// Actually do something
|
||||
mcMMO.p.debug("Backing up your mcMMO Configuration... ");
|
||||
|
||||
|
@ -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!
|
||||
|
||||
#REPAIR
|
||||
Repair.AnvilPlaced.Spout1=[mcMMO] Anvil Placed
|
||||
Repair.AnvilPlaced.Spout2=Right click to repair!
|
||||
Repair.Effect.0=Repair
|
||||
Repair.Effect.1=Repair Tools & Armor
|
||||
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.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.Donate=[[DARK_AQUA]]Donation Info:
|
||||
MOTD.Hardcore.Enabled=[[GOLD]][mcMMO] [[DARK_AQUA]]Hardcore Mode enabled: [[DARK_RED]]{0}
|
||||
|
Loading…
Reference in New Issue
Block a user