menu
#4873811 Call to undefined method VauteMC\Vaute::getProvider()

Submitted by PocketMine-MP 3.18.0

General information

Version: 3.18.0
Git commit: 3f649062
Plugin involvement: Direct
Report date: 2021-04-07 23:58:51 +0000 UTC
Server uptime: 0 days 0 hours 12 minutes 49 seconds

System Information

PHP version: 7.4.15
Operating system: linux
System banner: Linux 83cddb6d-c475-409c-b1ab-babdadc09136 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64

Error information

Warning: the VauteMC plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to undefined method VauteMC\Vaute::getProvider()
File: plugins/VauteHCF.phar/src/VauteMC/listeners/CombatTag
Line: #91
Error level: Error
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
	}

/**
* @param Int $x
* @param Int $z
* @param String $levelName
* @return bool
*/
protected function inSpawnBorder(Int $x, Int $z, String $levelName = null) : bool {
$data = Vaute::getProvider()->getDataBase()->query("SELECT * FROM zoneclaims WHERE protection = 'Spawn';");
$result = $data->fetchArray(SQLITE3_ASSOC);
return $x >= $result["x1"] && $x <= $result["x2"] && $z >= $result["z1"] && $z <= $result["z2"] && $levelName === $result["level"];
}
}

?>
#0 plugins/VauteHCF.phar/src/VauteMC/listeners/CombatTag(35): VauteMC\listeners\CombatTag->inSpawnBorder(integer -12, integer 0, string[5] world)
#1 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): VauteMC\listeners\CombatTag->onMovePlayerEvent(object pocketmine\event\player\PlayerMoveEvent)
#2 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object VauteMC\listeners\CombatTag, object pocketmine\event\player\PlayerMoveEvent)
#3 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerMoveEvent)
#4 pmsrc/src/pocketmine/Player(1660): pocketmine\event\Event->call()
#5 pmsrc/src/pocketmine/Player(1773): pocketmine\Player->processMostRecentMovements()
#6 pmsrc/src/pocketmine/level/Level(854): pocketmine\Player->onUpdate(integer 15375)
#7 pmsrc/src/pocketmine/level/Level(787): pocketmine\level\Level->actuallyDoTick(integer 15375)
#8 pmsrc/src/pocketmine/Server(2265): pocketmine\level\Level->doTick(integer 15375)
#9 pmsrc/src/pocketmine/Server(2396): pocketmine\Server->checkTickUpdates(integer 15375, double 1617839931.8562)
#10 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
#11 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#12 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#13 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#14 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#15 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show