diff --git a/src/API/BanAPI.php b/src/API/BanAPI.php index de8585876..e183b7d92 100644 --- a/src/API/BanAPI.php +++ b/src/API/BanAPI.php @@ -56,7 +56,7 @@ class BanAPI{ } public function isOp($username){ - if($this->server->api->dhandle("api.op.check", $username) === false){ + if($this->server->api->dhandle("api.op.check", $username) === true){ return true; }elseif($this->ops->exists($username)){ return true; diff --git a/src/Player.php b/src/Player.php index 134bb76c8..f62dfa53b 100644 --- a/src/Player.php +++ b/src/Player.php @@ -631,7 +631,7 @@ class Player{ 0x00000010 ? 0x00000020 nametags_visible 0x00000040 ? - 0x00000080 ? + 0x00000080 ? 0x00000100 ? 0x00000200 ? 0x00000400 ? @@ -639,7 +639,7 @@ class Player{ 0x00001000 ? 0x00002000 ? 0x00004000 ? - 0x00008000 ? + 0x00008000 ? 0x00010000 ? 0x00020000 ? 0x00040000 ? @@ -647,7 +647,7 @@ class Player{ 0x00100000 ? 0x00200000 ? 0x00400000 ? - 0x00800000 ? + 0x00800000 ? 0x01000000 ? 0x02000000 ? 0x04000000 ?