Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protocol changes to support latest pm4 #2

Merged
merged 3 commits into from
Aug 17, 2022
Merged

Conversation

xxFLORII
Copy link
Contributor

This will fix

[14:25:46.497] [AsyncWorker#11 thread/CRITICAL]: TypeError: "pocketmine\network\mcpe\protocol\LevelChunkPacket::create(): Argument #1 ($chunkPosition) must be of type pocketmine\network\mcpe\protocol\types\ChunkPosition, int given, called in /home/debian/mcpe/BACKUP_NW/PM4-Test_Server/plugins/ActualAntiXRay-main/src/ColinHDev/ActualAntiXRay/tasks/ChunkRequestTask.php on line 172" (EXCEPTION) in "pmsrc/vendor/pocketmine/bedrock-protocol/src/LevelChunkPacket" at line 47 --- Stack trace --- #0 /home/debian/mcpe/BACKUP_NW/PM4-Test_Server/plugins/ActualAntiXRay-main/src/ColinHDev/ActualAntiXRay/tasks/ChunkRequestTask(172): pocketmine\network\mcpe\protocol\LevelChunkPacket::create(int -2, int -1, int 9, false, null, string[7627] ................................................................................) #1 pmsrc/src/scheduler/AsyncTask(90): ColinHDev\ActualAntiXRay\tasks\ChunkRequestTask->onRun() #2 (): pocketmine\scheduler\AsyncTask->run() --- End of exception information ---

@ColinHDev
Copy link
Owner

Someone already reported this to me, but I wasn't home at that time. Thanks for fixing this!

src/ColinHDev/ActualAntiXRay/player/Player.php Outdated Show resolved Hide resolved
src/ColinHDev/ActualAntiXRay/player/Player.php Outdated Show resolved Hide resolved
@ColinHDev ColinHDev merged commit fd0ea10 into ColinHDev:main Aug 17, 2022
@Ardaa001 Ardaa001 mentioned this pull request Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants