rename SessionHandler -> PacketHandler

This commit is contained in:
Dylan K. Taylor
2019-06-18 16:02:46 +01:00
parent 87c3636d44
commit b18bd4f33c
136 changed files with 284 additions and 284 deletions

View File

@ -26,7 +26,7 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\BadPacketException;
use pocketmine\network\mcpe\handler\SessionHandler;
use pocketmine\network\mcpe\handler\PacketHandler;
use pocketmine\network\mcpe\protocol\types\MismatchTransactionData;
use pocketmine\network\mcpe\protocol\types\NormalTransactionData;
use pocketmine\network\mcpe\protocol\types\ReleaseItemTransactionData;
@ -80,7 +80,7 @@ class InventoryTransactionPacket extends DataPacket implements ClientboundPacket
$this->trData->encode($this);
}
public function handle(SessionHandler $handler) : bool{
public function handle(PacketHandler $handler) : bool{
return $handler->handleInventoryTransaction($this);
}
}