From 36c3c5163b588d143d0fda1af9c8ac461f21e243 Mon Sep 17 00:00:00 2001 From: bearbear12345 Date: Sat, 20 Jul 2013 07:18:20 +1000 Subject: [PATCH] Hangman Config Files in Config folder now. Hangman folder deleted --- MinecraftClient/Bots.cs | 6 +++--- .../config/{hangman/mots.txt => hangman-mots.txt} | 0 .../config/{hangman/words.txt => hangman-words.txt} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename MinecraftClient/config/{hangman/mots.txt => hangman-mots.txt} (100%) rename MinecraftClient/config/{hangman/words.txt => hangman-words.txt} (100%) diff --git a/MinecraftClient/Bots.cs b/MinecraftClient/Bots.cs index abf0febe..7463fb35 100644 --- a/MinecraftClient/Bots.cs +++ b/MinecraftClient/Bots.cs @@ -486,14 +486,14 @@ namespace MinecraftClient private string chooseword() { - if (System.IO.File.Exists(English ? "config/hangman/words.txt" : "mots.txt")) + if (System.IO.File.Exists(English ? "config/hangman-words.txt" : "config/pendu-mots.txt")) { string[] dico = System.IO.File.ReadAllLines(English ? "words.txt" : "mots.txt"); return dico[new Random().Next(dico.Length)]; } else { - LogToConsole(English ? "Cannot find words.txt in config/hangman!" : "mots.txt Fichier introuvable dans config/hangman!"); + LogToConsole(English ? "Cannot find words.txt in config directory !" : "Fichier mots.txt introuvable dans config/hangman dossier!"); return English ? "WORDSAREMISSING" : "DICOMANQUANT"; } } @@ -509,7 +509,7 @@ namespace MinecraftClient owners.Add(s.ToUpper()); } } - else LogToConsole(English ? "Cannot find bot-owners.txt in config folder!" : "bot-owners.txt Fichier introuvable dans config!"); + else LogToConsole(English ? "Cannot find bot-owners.txt in config folder!" : "Fichier bot-owners.txt introuvable dans config!"); return owners.ToArray(); } diff --git a/MinecraftClient/config/hangman/mots.txt b/MinecraftClient/config/hangman-mots.txt similarity index 100% rename from MinecraftClient/config/hangman/mots.txt rename to MinecraftClient/config/hangman-mots.txt diff --git a/MinecraftClient/config/hangman/words.txt b/MinecraftClient/config/hangman-words.txt similarity index 100% rename from MinecraftClient/config/hangman/words.txt rename to MinecraftClient/config/hangman-words.txt