menu
#5038673 Undefined offset: 0

Submitted by PocketMine-MP 3.22.0

General information

Version: 3.22.0
Git commit: c32c2146
Plugin involvement: Direct
Report date: 2021-07-22 05:15:55 +0000 UTC
Server uptime: 0 days 0 hours 7 minutes 9 seconds

System Information

PHP version: 7.4.21
Operating system: linux
System banner: Linux df3b8fadd44b 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64

Error information

Warning: the RedSkyBlock plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined offset: 0
File: plugins/RedSkyBlock.phar/src/RedCraftPE/RedSkyBlock/Generators/IslandGenerator
Line: #78
Error level: ErrorException
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
      $blocksArray = SkyBlock::getInstance()->skyblock->get("Blocks", []);
$counter = 0;

for ($x = $islands * $interval; $x <= ($islands * $interval) + (max($x1, $x2) - min($x1, $x2)); $x++) {

for ($y = 15; $y <= 15 + (max($y1, $y2) - min($y1, $y2)); $y++) {

for ($z = $islands * $interval; $z <= ($islands * $interval) + (max($z1, $z2) - min($z1, $z2)); $z++) {

$block = explode(" ", $blocksArray[$counter]);

$level->setBlock(new Vector3($x, $y, $z), Block::get($block[0], $block[1]), false);
$counter++;
}
}
}
}
}
}
#0 plugins/RedSkyBlock.phar/src/RedCraftPE/RedSkyBlock/Generators/IslandGenerator(78): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[19] Undefined offset: 0, string[97] phar:///server/plugins/RedSkyBlock.phar/src/RedCraftPE/RedSkyBlock/Generators/Is, integer 78, array[14])
#1 plugins/RedSkyBlock.phar/src/RedCraftPE/RedSkyBlock/Tasks/Generate(27): RedCraftPE\RedSkyBlock\Generators\IslandGenerator->generateIsland(object pocketmine\level\Level, integer 300, integer 1)
#2 pmsrc/src/pocketmine/scheduler/TaskHandler(137): RedCraftPE\RedSkyBlock\Tasks\Generate->onRun(integer 8516)
#3 pmsrc/src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 8516)
#4 pmsrc/src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 8516)
#5 pmsrc/src/pocketmine/Server(2389): pocketmine\plugin\PluginManager->tickSchedulers(integer 8516)
#6 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
#7 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#8 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#9 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[8] /server/, string[16] /server/plugins/)
#10 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#11 pmsrc(11): require(string[56] phar:///server/server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show