Entity: some cleanup of network position hacks

This commit is contained in:
Dylan K. Taylor
2020-06-27 23:16:04 +01:00
parent 1f0ea0c2c7
commit 87ce92d87e
6 changed files with 21 additions and 17 deletions

View File

@ -2219,12 +2219,6 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener,
parent::broadcastAnimation($animation, $targets);
}
public function getOffsetPosition(Vector3 $vector3) : Vector3{
$result = parent::getOffsetPosition($vector3);
$result->y += 0.001; //Hack for MCPE falling underground for no good reason (TODO: find out why it's doing this)
return $result;
}
/**
* TODO: remove this
*/