Quite obviously the parsing should check for integers, not bytes.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3353 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ted V
2005-02-15 21:44:35 +00:00
parent d618c12c93
commit 785259a4a8
@@ -102,7 +102,7 @@ public class ColorPository implements Serializable
{
// Check if the string is itself a number
try {
byte id = Byte.parseByte(name);
int id = Integer.parseInt(name);
if (colors.containsKey(id)) {
return id;
}