166167168169170171172173174175176
else if(val.toLowerCase().equals("$theading")) { val = String.valueOf(((L2PcInstance) activeChar.getTarget()).getHeading()); } sp.addPart(format.getBytes()[i], val); val = null; } if(broadcast) { activeChar.broadcastPacket(sp);