diff --git a/lib/playerPlugins/animations.js b/lib/playerPlugins/animations.js new file mode 100644 index 0000000..a9a3b2b --- /dev/null +++ b/lib/playerPlugins/animations.js @@ -0,0 +1,11 @@ +module.exports=inject; + +function inject(serv, player) +{ + player._client.on("arm_animation", function(packet) { + player._writeOthers("animation", { + entityId: player.entity.id, + animation: 0 + }); + }); +} \ No newline at end of file