Example #1
0
 private static void appendGraphicsUpdate(Npc Npc, PacketBuilder updateBlock)
 {
     Graphics gfx = Npc.getLastGraphics();
     if (gfx != null)
     {
         updateBlock.addShortA(gfx.getId());
         updateBlock.addLEInt(gfx.getHeight() << 16 + gfx.getDelay());
     }
 }