mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
OpCheck Typo fixes #121
This commit is contained in:
parent
365b7bec7d
commit
a85c865099
@ -57,7 +57,7 @@ class BanAPI{
|
||||
public function isOp($username){
|
||||
if($this->server->api->dhandle("api.op.check", $username) === false){
|
||||
return true;
|
||||
}elseif($this->op->exists($username)){
|
||||
}elseif($this->ops->exists($username)){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@ -282,4 +282,4 @@ class BanAPI{
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user