Пример #1
0
 private static void appendAnimationUpdate(Npc Npc, PacketBuilder updateBlock)
 {
     Animation anim = Npc.getLastAnimation();
     if (anim != null)
     {
         updateBlock.addUShort(anim.getId());
         updateBlock.addByte((byte)anim.getDelay());
     }
 }