menu
#3243092 Cannot redeclare ThisMadCat\STMC::open()

Submitted by PocketMine-MP 3.9.7

General information

Version: 3.9.7
Git commit: 0c91d568
Plugin involvement: Direct
Report date: 2019-12-02 09:18:47 +0000 UTC

System Information

PHP version: 7.3.11
Operating system: linux
System banner: Linux ih1816271.vds.myihor.ru 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot redeclare ThisMadCat\STMC::open()
File: plugins/SborkaQRPPlugins/src/ThisMadCat/STMC
Line: #3020
Error level: E_COMPILE_ERROR
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
            $f->setTitle("§3Банкомат");
$f->addButton("§eПополнить счёт");
$f->addButton("§eСнять с счёта");
$f->addButton("§eПополнить дипозит");
$f->addButton("§eСнять с дипозита");
$f->sendToPlayer($pl);
return $f;
}

public function open(Player $pl){
$f = $this->form->createSimpleForm(function (Player $pl, $data){
switch ($data){
case 0:
$pl->sendMessage("§7Я ему скажу от этом)))");
break;
case 1:
$pl->sendMessage("§7ХАХАХАХХА, лол ну и ладно. ");
break;
}
});

Loaded Plugins

  • Show

Server Settings

  • Show