menu
#4221016 Allowed memory size exhausted

Submitted by PocketMine-MP 3.12.2

General information

Version: 3.12.2
Git commit: 9b6b3f50
Plugin involvement: Direct
Report date: 2020-05-23 07:53:39 +0000 UTC

System Information

PHP version: 7.3.7
Operating system: linux
System banner: Linux 623860aaa904 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64

Error information

Warning: the WorldGuard plugin was directly involved in this crash. Please contact the plugin author.
Message: Allowed memory size exhausted
File: plugins/WorldGuard.phar/src/Chalapa13/WorldGuard/WorldGuard
Line: #244
Error level: E_ERROR
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254

public function getRegionNameFromPosition(Position $pos) : string
{
$highestPriorityName = "";
$highestPriority = -1;
foreach ($this->regions as $name => $region) {
if ($region->getLevelName() === $pos->getLevel()->getName()) {
$reg1 = $region->getPos1();
$reg2 = $region->getPos2();
$x = array_flip(range($reg1[0], $reg2[0]));
if (isset($x[$pos->x])) {
$y = array_flip(range($reg1[1], $reg2[1]));
if (isset($y[$pos->y])) {
$z = array_flip(range($reg1[2], $reg2[2]));
if (isset($z[$pos->z])) {
if($highestPriority<intval($region->getFlag("priority")))
{
$highestPriority = intval($region->getFlag("priority"));
$highestPriorityName = $name;
}

Loaded Plugins

  • Show

Server Settings

  • Show