From 1d58589601eb2901046adaa91250724430f3fe87 Mon Sep 17 00:00:00 2001 From: rain931215 Date: Sat, 2 May 2020 17:03:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BB=E6=93=8A=E6=99=82=E4=B8=8D=E9=9C=80?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=E4=B8=BB=E6=89=8B=E6=88=96=E5=89=AF=E6=89=8B?= =?UTF-8?q?=20=E5=8F=83=E7=85=A7https://wiki.vg/Protocol#Interact=5FEntity?= =?UTF-8?q?=E8=A3=A1=E7=9A=84=20Hand=E7=82=BAOnly=20if=20Type=20is=20inter?= =?UTF-8?q?act=20or=20interact=20at;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot/motion.go | 1 - 1 file changed, 1 deletion(-) diff --git a/bot/motion.go b/bot/motion.go index a147d21..8989411 100644 --- a/bot/motion.go +++ b/bot/motion.go @@ -56,7 +56,6 @@ func (c *Client) AttackEntity(entityID int32, hand int) error { data.UseEntity, pk.VarInt(entityID), pk.VarInt(1), - pk.VarInt(hand), )) }