mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Typo
This commit is contained in:
parent
e7d56a837f
commit
32df30448b
2 changed files with 8 additions and 1 deletions
|
|
@ -60,6 +60,13 @@ class BanAPI{
|
|||
}
|
||||
|
||||
public function opCheck($data, $event){
|
||||
$whitelist = array(
|
||||
"help",
|
||||
);
|
||||
if(in_array($data["cmd"], $whitelist, true)){
|
||||
return true;
|
||||
}
|
||||
|
||||
if($data["issuer"] instanceof Player){
|
||||
if($this->isOp($data["issuer"]->username)){
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue