menu
#2467559 Cannot redeclare devilutk\sumoutk\arena\Arena::onInteract()

Submitted by PocketMine-MP 3.8.4

General information

Version: 3.8.4
Git commit: a42f68d3
Plugin involvement: Direct
Report date: 2019-06-12 04:09:26 +0000 UTC

System Information

PHP version: 7.2.8
Operating system: linux
System banner: Linux 334bd7583c7d 4.15.0-51-generic #55-Ubuntu SMP Wed May 15 14:27:21 UTC 2019 x86_64

Error information

Warning: the SUMO plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot redeclare devilutk\sumoutk\arena\Arena::onInteract()
File: plugins/SUMO 2.0.1.phar/src/devilutk/sumoutk/arena/Arena
Line: #349
Error level: E_COMPILE_ERROR
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359

if($this->inGame($player) && $this->phase == self::PHASE_LOBBY) {
$event->setCancelled(true);
}
}

/**
* @param PlayerInteractEvent $event
*/
public function onInteract(PlayerInteractEvent $event) {
$player = $event->getPlayer();
$block = $event->getBlock();

if($this->inGame($player) && $event->getBlock()->getId() == Block::CHEST && $this->phase == self::PHASE_LOBBY) {
$event->setCancelled(\true);
return;
}

if(!$block->getLevel()->getTile($block) instanceof Tile) {
return;

Loaded Plugins

  • Show

Server Settings

  • Show