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;
|
||||
}
|
||||
|
||||
public static function convertToLegacyName(string $name){
|
||||
return '{"geometry" : {"default" : "geometry.humanoid.custom"}}';
|
||||
public static function convertToLegacyName(string $name) : string{
|
||||
return '{"geometry" : {"default" : "' . $name . '"}}';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user