microtweaks

This commit is contained in:
GameHerobrine 2023-10-09 21:01:50 +03:00
parent 6d487fb4b0
commit 102f515469
4 changed files with 20 additions and 18 deletions

View file

@ -913,7 +913,7 @@ class Entity extends Position
]
];
$d[16]["value"] = $this->data["State"];
if($this->class === ENTITY_PLAYER){
if($this->isPlayer()){
if($this->player->isSleeping !== false){
$d[16]["value"] = 2;
$d[17]["value"] = [