Merge branch 'next-minor' into next-major

This commit is contained in:
Dylan K. Taylor 2022-07-14 20:59:13 +01:00
commit e5804df24b
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -265,7 +265,6 @@ class InGamePacketHandler extends PacketHandler{
//TODO HACK: EATING_ITEM is sent back to the server when the server sends it for other players (1.14 bug, maybe earlier) //TODO HACK: EATING_ITEM is sent back to the server when the server sends it for other players (1.14 bug, maybe earlier)
return $packet->actorRuntimeId === ActorEvent::EATING_ITEM; return $packet->actorRuntimeId === ActorEvent::EATING_ITEM;
} }
$this->player->removeCurrentWindow();
switch($packet->eventId){ switch($packet->eventId){
case ActorEvent::EATING_ITEM: //TODO: ignore this and handle it server-side case ActorEvent::EATING_ITEM: //TODO: ignore this and handle it server-side