Skip to content

Commit

Permalink
Update Main.php
Browse files Browse the repository at this point in the history
  • Loading branch information
skyss0fly authored Apr 5, 2023
1 parent b3839d4 commit 8d68f8c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/ipad54/netherblocks/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
use ipad54\netherblocks\items\FlintAndSteel;
use ipad54\netherblocks\listener\EventListener;
use ipad54\netherblocks\utils\CustomConfig;
use ipad54\netherblocks\utils\CustomIds;
use ipad54\netherblocks\utils\CustomIds;
use ipad54\resources\nbt_upgrade_schema;
use ipad54\resources;
use pocketmine\block\Block;
use pocketmine\block\BlockBreakInfo;
use pocketmine\block\BlockFactory;
Expand Down Expand Up @@ -87,7 +89,7 @@
use pocketmine\Server;
use pocketmine\utils\Config;
use ReflectionMethod;
use pmmp\BedrockBlockUpgradeSchema;


class Main extends PluginBase
{
Expand Down Expand Up @@ -137,7 +139,7 @@ public static function initializeRuntimeIds(): void
$method = new ReflectionMethod(RuntimeBlockMapping::class, "registerMapping");
$method->setAccessible(true);

$blockIdMap = json_decode(file_get_contents(BedrockBlockUpgradeSchema . 'block_legacy_id_map.json'), true);
$blockIdMap = json_decode(file_get_contents( nbt_upgrade_schema . 'block_legacy_id_map.json'), true);
$metaMap = [];

foreach ($instance->getBedrockKnownStates() as $runtimeId => $nbt) {
Expand Down

1 comment on commit 8d68f8c

@poggit-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dear Poggit user,

This is an automatic message from Poggit-CI. Poggit-CI was triggered by this commit, but failed to create builds due to the following error:

Resend this delivery later. This commit is triggered by user skyss0fly, who
has created 100 ≥ 100 Poggit-CI builds in the past 168 hours.

Contact SOFe [on Discord](https://discord.gg/XDugAkJ) to request for extra
quota. We will increase your quota for free if you are really contributing
to open-source plugins actively without abusing Git commits.

As a result, no builds could be created from this commit. More details might be available for repo admins at the webhook delivery response log — see the webhook starting with https://poggit.pmmp.io/webhooks.gh.repo and look for the delivery with ID a348e280-d384-11ed-8486-e7e16358f966.

Shall you need any assistance, you may contact us on on Discord, or more publicly, on GitHub. Commenting on this commit directly will not notify any Poggit staff.

Regards,
Poggit Bot (@poggit-bot)
The official Poggit automation account

Please sign in to comment.