mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
3 small fixes
This commit is contained in:
parent
7768ad03a9
commit
39bfa7115d
5 changed files with 23 additions and 2 deletions
|
|
@ -128,6 +128,7 @@ class Player{
|
|||
$this->isSleeping = $pos;
|
||||
$this->sleepingTime = 0;
|
||||
$this->teleport(new Position($pos->x + 0.5, $pos->y + 1, $pos->z + 0.5, $this->level), false, false, false, false);
|
||||
//TODO change player hitbox size after he starts sleeping
|
||||
if($this->entity instanceof Entity){
|
||||
$this->entity->updateMetadata();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue