Fixed convertToLegacyName not using variables, add typehints to it too

This commit is contained in:
Stephen 2019-11-07 19:44:49 -05:00
parent b8d1d8f212
commit 3061eb4157

View File

@ -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 . '"}}';
}
/**