Here's what I have for my Pnpc command.And you posted no error?Code:if (playerCommand.startsWith("pnpc")) { try { int newNPC = Integer.parseInt(playerCommand.substring(5)); if (newNPC <= 200000 && newNPC >= 0) { c.npcId2 = newNPC; c.isNpc = true; c.updateRequired = true; c.setAppearanceUpdateRequired(true); } else { c.sendMessage("No such P-NPC."); } } catch(Exception e) { c.sendMessage("Wrong Syntax! Use as ::pnpc #"); } }