Merge branch 'stable' into next-minor

This commit is contained in:
Dylan K. Taylor
2019-07-26 19:50:17 +01:00
87 changed files with 1961 additions and 908 deletions

View File

@@ -65,7 +65,7 @@ abstract class VanillaCommand extends Command{
* @return float
*/
protected function getRelativeDouble(float $original, CommandSender $sender, string $input, float $min = self::MIN_COORD, float $max = self::MAX_COORD) : float{
if($input{0} === "~"){
if($input[0] === "~"){
$value = $this->getDouble($sender, substr($input, 1));
return $original + $value;