With Spout, the territory indicator now also has an ownership indicator below it (but only if the current territory has any owners set), and a larger centered territory notice below which goes away after a couple of seconds.

These effectively replace the related chat notices if enabled.
Also, updated libs.
This commit is contained in:
Brettflan
2011-10-13 14:09:47 -05:00
parent 0888e027ad
commit 1a38007d64
9 changed files with 260 additions and 79 deletions

View File

@ -123,6 +123,22 @@ public class CmdConfig extends FCommand
}
}
// float
else if (target.getType() == float.class)
{
try
{
float floatVal = Float.parseFloat(value);
target.setFloat(null, floatVal);
success = "\""+fieldName+"\" option set to "+floatVal+".";
}
catch(NumberFormatException ex)
{
sendMessage("Cannot set \""+fieldName+"\": float (numeric) value required.");
return;
}
}
// String
else if (target.getType() == String.class)
{