menu
#7557543 Cannot redeclare Woolf\KitsGui\Main::VipS()

Submitted by PocketMine-MP 4.9.0

General information

Version: 4.9.0
Git commit: 785dc712
Plugin involvement: Direct
Report date: 2022-09-23 02:52:17 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 8.0.22
JIT status: Disabled
Operating system: linux
System banner: Linux ef9bf305-fcbc-4b12-846c-c933159092bf 4.15.0-188-generic #199-Ubuntu SMP Wed Jun 15 20:42:56 UTC 2022 x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot redeclare Woolf\KitsGui\Main::VipS()
File: plugins/KitsGui/src/Main
Line: #2320
Error level: E_COMPILE_ERROR
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
            $player->getWorld()->addSound($player->getPosition(), new PopSound());

$this->menu->send($player);

$player->removeCurrentWindow();
return $transaction->discard();
}
return $transaction->discard();
}
public function VipS(InvMenuTransaction $transaction) : InvMenuTransactionResult {
$player = $transaction->getPlayer();
$action = $transaction->getAction();

$name = $player->getName();
if($transaction->getItemClicked()->getCustomName() === "┬žaColetar Kit"){
$player->getWorld()->addSound($player->getPosition(), new PopSound());

$kit = KitManager::get("VipS");
TryClaim::forceClaim($player, $kit);

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show