mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
Changed parameter name in Ban API
This commit is contained in:
@@ -156,12 +156,12 @@ class BanAPI{
|
||||
$this->commandHandler("ban", array("pardon", $username));
|
||||
}
|
||||
|
||||
public function banIP($username){
|
||||
$this->commandHandler("banip", array("add", $username));
|
||||
public function banIP($ip){
|
||||
$this->commandHandler("banip", array("add", $ip));
|
||||
}
|
||||
|
||||
public function pardonIP($username){
|
||||
$this->commandHandler("banip", array("pardon", $username));
|
||||
public function pardonIP($ip){
|
||||
$this->commandHandler("banip", array("pardon", $ip));
|
||||
}
|
||||
|
||||
public function isIPBanned($ip){
|
||||
|
Reference in New Issue
Block a user