Merge branch 'stable' into next-minor

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

View File

@ -269,7 +269,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)
return $packet->actorRuntimeId === ActorEvent::EATING_ITEM;
}
$this->player->removeCurrentWindow();
switch($packet->eventId){
case ActorEvent::EATING_ITEM: //TODO: ignore this and handle it server-side