Skip to content

Commit

Permalink
Register new packets
Browse files Browse the repository at this point in the history
  • Loading branch information
AkmalFairuz committed Aug 15, 2024
1 parent ad20d86 commit 59d80a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/PacketPool.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,11 @@ public function __construct(){
$this->registerPacket(new PlayerToggleCrafterSlotRequestPacket());
$this->registerPacket(new SetPlayerInventoryOptionsPacket());
$this->registerPacket(new SetHudPacket());
$this->registerPacket(new ClientboundCloseFormPacket());
$this->registerPacket(new ServerboundLoadingScreenPacket());
$this->registerPacket(new JigsawStructureDataPacket());
$this->registerPacket(new CurrentStructureFeaturePacket());
$this->registerPacket(new ServerboundDiagnosticsPacket());
}

public function registerPacket(Packet $packet) : void{
Expand Down

0 comments on commit 59d80a0

Please sign in to comment.