Changed variable names to reflect others.

Updated readme to reflect changes
This commit is contained in:
FrozenCow 2010-12-29 03:22:14 +01:00
parent f84b9d4bde
commit 5780bc89f0
2 changed files with 25 additions and 24 deletions

View file

@ -113,7 +113,7 @@ public class MapManager extends Thread {
public Boolean showWarps = false;
public Boolean showSigns = false;
public Boolean showPlayers = false;
public Boolean enablePortraitGeneration = false;
public Boolean generatePortraits = false;
public void debug(String msg)
{
@ -137,7 +137,7 @@ public class MapManager extends Thread {
serverport = Integer.parseInt(properties.getString("map-serverport", "8123"));
datasource = properties.getString("data-source", "flatfile");
showmarkers = properties.getString("map-showmarkers", "all");
enablePortraitGeneration = !properties.getString("map-portraitgeneration", "0").equals("0");
generatePortraits = !properties.getString("map-generateportraits", "0").equals("0");
} catch(Exception ex) {
log.log(Level.SEVERE, "Exception while reading properties for dynamic map", ex);
}
@ -902,7 +902,7 @@ public class MapManager extends Thread {
protected void getPlayerImage(Player player)
{
if (!enablePortraitGeneration) return;
if (!generatePortraits) return;
String urlString = "http://www.minecraft.net/skin/" + player.getName() + ".png";
String filename = tilepath + player.getName() + ".png";