or.Code:Server.NPC.forceChat("IM ALIVE!");
Code:NPC.forceChat("IM ALIVE!");
|
I'm trying to make npcs stay stuff above their head in client.java, but it won't let me -_-
Code:Server.npcHandler.forceChat("IM ALIVE!");What's the correct code? :3Code:src\server\model\players\Client.java:117: cannot find symbol symbol : method forceChat(java.lang.String) location: class server.model.npcs.NPCHandler Server.npcHandler.forceChat("IM ALIVE!"); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error Press any key to continue . . .
I'm 98% sure it's something obvious but I'm an idiot Will rep+
or.Code:Server.NPC.forceChat("IM ALIVE!");
Code:NPC.forceChat("IM ALIVE!");
andCode:src\server\model\players\Client.java:119: cannot find symbol symbol : variable NPC location: class server.Server Server.NPC.forceChat("IM ALIVE!"); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error Press any key to continue . . .
Code:src\server\model\players\Client.java:119: cannot find symbol symbol : variable NPC location: class server.model.players.Client NPC.forceChat("IM ALIVE!"); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error Press any key to continue . . .
Wait.Code:import server.model.npcs.*;
Remove
Code:Server
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |