module.exports=inject;

function inject(serv, player) 
{
  player._client.on("arm_animation", function(packet) {
    player._writeOthers("animation", {
      entityId: player.entity.id,
      animation: 0
    });
  });
}
@@ -211,10 +211,1048 @@
 );%0A  %7D);
+%0A%0A  player._client.on(%22entity_action%22, function(packet) %7B%0A    if(packet.actionId == 3) %7B%0A      player.entity.metadata = %5B%7B%22key%22:0,%22type%22:%22byte%22,%22value%22: 0x08%7D%5D;%0A      player._writeOthers(%22entity_metadata%22, %7B%0A        entityId: player.entity.id,%0A        metadata: player.entity.metadata%0A      %7D);%0A    %7D%0A%0A    if(packet.actionId == 4) %7B%0A      player.entity.metadata = %5B%7B%22key%22:0,%22type%22:%22byte%22,%22value%22: 0x00%7D%5D;%0A      player._writeOthers(%22entity_metadata%22, %7B%0A        entityId: player.entity.id,%0A        metadata: player.entity.metadata%0A      %7D);%0A    %7D%0A%0A    if(packet.actionId == 0) %7B%0A      player.entity.metadata = %5B%7B%22key%22:0,%22type%22:%22byte%22,%22value%22: 0x02%7D%5D;%0A      player._writeOthers(%22entity_metadata%22, %7B%0A        entityId: player.entity.id,%0A        metadata: player.entity.metadata%0A      %7D);%0A    %7D%0A%0A    if(packet.actionId == 1) %7B%0A      player.entity.metadata = %5B%7B%22key%22:0,%22type%22:%22byte%22,%22value%22: 0x00%7D%5D;%0A      player._writeOthers(%22entity_metadata%22, %7B%0A        entityId: player.entity.id,%0A        metadata: player.entity.metadata%0A      %7D);%0A    %7D%0A  %7D);
 %0A%7D

Implement crouching and sprinting