mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 11:26:37 +00:00
Ban API fly fixed
This commit is contained in:
parent
e4871ee0c4
commit
2e23ce8beb
@ -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…
x
Reference in New Issue
Block a user