mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 08:49:42 +00:00
Fixed convertToLegacyName not using variables, add typehints to it too
This commit is contained in:
parent
b8d1d8f212
commit
3061eb4157
@ -75,8 +75,8 @@ class Skin{
|
|||||||
$this->capeId = $capeId;
|
$this->capeId = $capeId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function convertToLegacyName(string $name){
|
public static function convertToLegacyName(string $name) : string{
|
||||||
return '{"geometry" : {"default" : "geometry.humanoid.custom"}}';
|
return '{"geometry" : {"default" : "' . $name . '"}}';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user