mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Changed the api.op.check event check
This commit is contained in:
parent
a9f7d47c25
commit
ab1c28fc57
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue