Merge branch 'stable' into master

# Conflicts:
#	composer.lock
#	resources/vanilla
#	src/command/defaults/StatusCommand.php
#	src/pocketmine/entity/Entity.php
#	src/pocketmine/level/format/SubChunk.php
This commit is contained in:
Dylan K. Taylor
2020-09-26 13:27:08 +01:00
7 changed files with 16 additions and 8 deletions

View File

@@ -893,7 +893,7 @@ abstract class Entity{
}
public function getHorizontalFacing() : int{
$angle = $this->location->yaw % 360;
$angle = fmod($this->location->yaw, 360);
if($angle < 0){
$angle += 360.0;
}