mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Ban API fly fixed
This commit is contained in:
parent
e4871ee0c4
commit
2e23ce8beb
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class BanAPI{
|
||||||
switch($event){
|
switch($event){
|
||||||
case "player.flying"://OPs can fly around the server.
|
case "player.flying"://OPs can fly around the server.
|
||||||
if($this->isOp($data->iusername)){
|
if($this->isOp($data->iusername)){
|
||||||
return;
|
return true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "player.block.break":
|
case "player.block.break":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue