mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-12 12:55:21 +00:00
Fixed resource pack matching for uppercased UUIDs
This commit is contained in:
parent
0ee452773d
commit
46afb7caf1
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user