mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Fixed convertToLegacyName not using variables, add typehints to it too
This commit is contained in:
@ -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 . '"}}';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user