Fixed resource pack matching for uppercased UUIDs

This commit is contained in:
Dylan K. Taylor 2017-11-21 11:25:21 +00:00
parent 0ee452773d
commit 46afb7caf1

View File

@ -132,7 +132,7 @@ class ResourcePackManager{
* @return ResourcePack|null * @return ResourcePack|null
*/ */
public function getPackById(string $id){ public function getPackById(string $id){
return $this->uuidList[$id] ?? null; return $this->uuidList[strtolower($id)] ?? null;
} }
/** /**