mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 15:19:56 +00:00
Added support for MCPACK resource packs
This commit is contained in:
parent
0ad16c1919
commit
f6ff03fc31
@ -83,6 +83,7 @@ class ResourcePackManager{
|
|||||||
$info = new \SplFileInfo($packPath);
|
$info = new \SplFileInfo($packPath);
|
||||||
switch($info->getExtension()){
|
switch($info->getExtension()){
|
||||||
case "zip":
|
case "zip":
|
||||||
|
case "mcpack":
|
||||||
$newPack = new ZippedResourcePack($packPath);
|
$newPack = new ZippedResourcePack($packPath);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user