ResourcePacksPacketHandler: fixed a mistake from c773e43eda0da159b181ef1c79f29a6c8986e697

fixes #4557

Note: you may need to clear your local pack cache in order to get it working again.
This commit is contained in:
Dylan K. Taylor 2021-11-06 16:45:14 +00:00
parent 4cb6c7dc1e
commit d9d37f7fa6
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -117,7 +117,7 @@ class ResourcePacksPacketHandler extends PacketHandler{
$pack->getPackSize(),
$pack->getSha256(),
false,
ResourcePackType::ADDON //TODO: this might be an addon (not behaviour pack), needed to properly support client-side custom items
ResourcePackType::RESOURCES //TODO: this might be an addon (not behaviour pack), needed to properly support client-side custom items
));
}
$this->session->getLogger()->debug("Player requested download of " . count($packet->packIds) . " resource packs");