mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-24 20:04:28 +00:00
Changed the api.op.check event check
This commit is contained in:
parent
a9f7d47c25
commit
ab1c28fc57
@ -56,7 +56,7 @@ class BanAPI{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function isOp($username){
|
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;
|
return true;
|
||||||
}elseif($this->ops->exists($username)){
|
}elseif($this->ops->exists($username)){
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user