When I replace the ItemDef.java, I get this error:
Code:
client.java:1138: error: cannot find symbol
menuActionCmd1[menuActionRow] = itemDef.id;
^
symbol: variable id
location: variable itemDef of type ItemDef
client.java:1150: error: cannot find symbol
menuActionCmd1[menuActionRow] = itemDef.id;
^
symbol: variable id
location: variable itemDef of type ItemDef
client.java:1167: error: cannot find symbol
menuActionCmd1[menuActionRow] = itemDef.id;
^
symbol: variable id
location: variable itemDef of type ItemDef
client.java:1176: error: cannot find symbol
menuActionCmd1[menuActionRow] = itemDef.id;
^
symbol: variable id
location: variable itemDef of type ItemDef
client.java:1187: error: cannot find symbol
menuActionCmd1[menuActionRow] = itemDef.id;
^
symbol: variable id
location: variable itemDef of type ItemDef
client.java:1206: error: cannot find symbol
menuActionCmd1[menuActionRow] = itemDef.id;
^
symbol: variable id
location: variable itemDef of type ItemDef
client.java:1229: error: cannot find symbol
menuActionCmd1[menuActionRow] = itemDef.id;
^
symbol: variable id
location: variable itemDef of type ItemDef
client.java:1239: error: cannot find symbol
menuActionCmd1[menuActionRow] = itemDef.id;
^
symbol: variable id
location: variable itemDef of type ItemDef
ItemDef.java:168: error: cannot find symbol
if (cache[j].id == i)
^
symbol: variable id
location: class ItemDef
ItemDef.java:173: error: cannot find symbol
itemDef.id = i;
^
symbol: variable id
location: variable itemDef of type ItemDef
Note: client.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
10 errors
Press any key to continue . . .
Anyone know? How can I fix this?