mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Entity: some cleanup of network position hacks
This commit is contained in:
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user