Archiviert
13
0

Implement getMotd, and reload the motd. Adds BUKKIT-1799

Dieser Commit ist enthalten in:
feildmaster 2012-07-03 18:00:37 -05:00
Ursprung 00efc8c464
Commit d7272f42ef

Datei anzeigen

@ -504,6 +504,7 @@ public final class CraftServer implements Server {
console.spawnAnimals = config.getBoolean("spawn-animals", console.spawnAnimals);
console.pvpMode = config.getBoolean("pvp", console.pvpMode);
console.allowFlight = config.getBoolean("allow-flight", console.allowFlight);
console.motd = config.getString("motd", console.motd);
monsterSpawn = configuration.getInt("spawn-limits.monsters");
animalSpawn = configuration.getInt("spawn-limits.animals");
waterAnimalSpawn = configuration.getInt("spawn-limits.water-animals");
@ -1194,4 +1195,8 @@ public final class CraftServer implements Server {
public boolean isPrimaryThread() {
return Thread.currentThread().equals(console.primaryThread);
}
public String getMotd() {
return console.motd;
}
}