Server Based Error:
When i try to add this command to test the sound
Code:
if (playerCommand.startsWith("sound")) {
c.getPA().sendSound(472, 7, 0);
}
I get this error
Code:
src\server\model\players\packets\Commands.java:182: error: method sendSound in c
lass PlayerAssistant cannot be applied to given types;
c.getPA().sendSound(472, 7, 0);
^
required: int,int,int,int
found: int,int,int
reason: actual and formal argument lists differ in length
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
Press any key to continue . . .