Code:
Compiling...
src\com\rs\game\player\content\items\MysteryBox.java:30: error: method sendMessa
ge in class WorldPacketsEncoder cannot be applied to given types;
p.getPackets().sendMessage("You open the box and find " + getGra
mmar() + " " + getNameForItem() + ", awesome!");
^
required: int,String,Player
found: String
reason: actual and formal argument lists differ in length
src\com\rs\game\player\content\items\MysteryBox.java:38: error: method sendMessa
ge in class WorldPacketsEncoder cannot be applied to given types;
p.getPackets().sendMessage("You open the box and find " + getGra
mmar() + " " + getNameForItem() + ", excellent.");
^
required: int,String,Player
found: String
reason: actual and formal argument lists differ in length
src\com\rs\game\player\content\items\MysteryBox.java:47: error: method sendMessa
ge in class WorldPacketsEncoder cannot be applied to given types;
p.getPackets().sendMessage("You open the box and find " + getGra
mmar() + " " + getNameForItem() + ", not bad.");
^
required: int,String,Player
found: String
reason: actual and formal argument lists differ in length
src\com\rs\game\player\content\items\MysteryBox.java:55: error: method sendMessa
ge in class WorldPacketsEncoder cannot be applied to given types;
p.getPackets().sendMessage((String) "You open the box and find "
+ (COMMON[r][0] == (995) ? c : getGrammar()) + " "
^
required: int,String,Player
found: String
reason: actual and formal argument lists differ in length
4 errors
Press any key to continue . . .