Fixed horrible typo, implemented dynamic plugin name

This commit is contained in:
Tim Visée 2015-11-21 19:22:23 +01:00
parent 30b4cfe44e
commit a176aba350

View File

@ -651,7 +651,7 @@ public final class Settings extends YamlConfiguration {
BufferedWriter w = new BufferedWriter(fw); BufferedWriter w = new BufferedWriter(fw);
w.write("Welcome {PLAYER} on {SERVER} server"); w.write("Welcome {PLAYER} on {SERVER} server");
w.newLine(); w.newLine();
w.write("This server use AuthMe protection!"); w.write("This server uses " + AuthMe.PLUGIN_NAME + " protection!");
w.close(); w.close();
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();