mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Ban API fly fixed
This commit is contained in:
@ -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":
|
||||||
|
Reference in New Issue
Block a user