menu
#4873862 Undefined offset: 0

Submitted by PocketMine-MP 3.18.1

General information

Version: 3.18.1
Git commit: fd4ac885
Plugin involvement: Direct
Report date: 2021-04-08 01:25:50 +0000 UTC
Server uptime: 0 days 0 hours 10 minutes 13 seconds

System Information

PHP version: 7.4.15
Operating system: linux
System banner: Linux 93a9c27b-713f-4c51-9594-c1b5e506e54c 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 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_dev-88.phar/src/RedCraftPE/RedSkyBlock/Generators/IslandGenerator
Line: #79
Error level: ErrorException
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
      $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_dev-88.phar/src/RedCraftPE/RedSkyBlock/Generators/IslandGenerator(79): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[19] Undefined offset: 0, string[112] phar:///home/container/plugins/RedSkyBlock_dev-88.phar/src/RedCraftPE/RedSkyBloc, integer 79, array[14])
#1 plugins/RedSkyBlock_dev-88.phar/src/RedCraftPE/RedSkyBlock/Tasks/Generate(27): RedCraftPE\RedSkyBlock\Generators\IslandGenerator->generateIsland(object pocketmine\level\Level, integer 500, integer 0)
#2 pmsrc/src/pocketmine/scheduler/TaskHandler(137): RedCraftPE\RedSkyBlock\Tasks\Generate->onRun(integer 12141)
#3 pmsrc/src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 12141)
#4 pmsrc/src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 12141)
#5 pmsrc/src/pocketmine/Server(2389): pocketmine\plugin\PluginManager->tickSchedulers(integer 12141)
#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[16] /home/container/, string[24] /home/container/plugins/)
#10 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#11 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show