menu
#3243073 Cannot redeclare ThisMadCat\STMC::onTapeapteka()

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:14:36 +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::onTapeapteka()
File: plugins/SborkaQRPPlugins/src/ThisMadCat/STMC
Line: #2971
Error level: E_COMPILE_ERROR
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
              return false;
}
}else{
$p->sendMessage("§7У вас уже есть §35§7 аптечек.");
return false;
}
}
}

function onTapeapteka(PlayerInteractEvent $event) { //аптечка
$date = $this->cares->getAll();
$ra = $this->ra->getAll();
$p = $event->getPlayer();
$x = $event->getBlock()->getFloorX();
$y = $event->getBlock()->getFloorY();
$z = $event->getBlock()->getFloorZ();
if ($x == -109 && $y == 73 && $z == 148){
$bank = $this->bank->getAll();
if($bank[$p->getName()]["o"] == "Есть"){
$this->open($p);

Loaded Plugins

  • Show

Server Settings

  • Show