Skip to content

Commit 6830e8a

Browse files
Added more missing getters (#298)
1 parent 5df50ee commit 6830e8a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ResourcePacksInfoPacket.php

+4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ public static function create(array $resourcePackEntries, bool $mustAccept, bool
4545
return $result;
4646
}
4747

48+
public function getWorldTemplateId() : UuidInterface{ return $this->worldTemplateId; }
49+
50+
public function getWorldTemplateVersion() : string{ return $this->worldTemplateVersion; }
51+
4852
protected function decodePayload(PacketSerializer $in) : void{
4953
$this->mustAccept = $in->getBool();
5054
$this->hasAddons = $in->getBool();

0 commit comments

Comments
 (0)