mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 16:49:53 +00:00
Take 2: Fixed resource pack matching for uppercased UUIDs
fixed the wrong damned bug...
This commit is contained in:
parent
46afb7caf1
commit
78d24b9183
@ -96,7 +96,7 @@ class ResourcePackManager{
|
|||||||
|
|
||||||
if($newPack instanceof ResourcePack){
|
if($newPack instanceof ResourcePack){
|
||||||
$this->resourcePacks[] = $newPack;
|
$this->resourcePacks[] = $newPack;
|
||||||
$this->uuidList[$newPack->getPackId()] = $newPack;
|
$this->uuidList[strtolower($newPack->getPackId())] = $newPack;
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
$this->server->getLogger()->warning("Skipped resource entry $pack due to file or directory not found");
|
$this->server->getLogger()->warning("Skipped resource entry $pack due to file or directory not found");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user