menu
#7557538 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:50:01 +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: #2346
Error level: E_COMPILE_ERROR
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
            $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