Tested this on api3/blocks
You can join with the same in a server even though that person is also online on the server.
If the issue is not reproducible without plugins:
This is tested on a server without any plugins
This is only reproducible in the short space of time between logging in and spawning.
Do you know of any quick fix? I tried cancelling prelogin etc. But it all doesn't work
@Matthww
~Try sending a disconnection packet using the directDataPacket API method, then make sure to cancel the event so the server stops processing the player.~
Update: https://github.com/pmmp/PocketMine-MP/blob/master/src/pocketmine/Player.php#L3657
Off-Toppic: You can do this in singleplayer too by the way.
@thebigsmileXD Because singleplayer handles this differently. It uses the DeviceID or something similiar to see them different while on PMMP they are seen as the same person they share the same data such as Inventory.
Singleplayer is completely irrelevant. This issue targets a bug in PocketMine-MP.
Try closing the connection instead of cancelling it.
close()
This is what I meant btw.
Another copy-paste job... you see that Debugged label? We know full well what's causing the problem -
I just haven't decided how best to fix it. Copy-pasting code however, is an idiot's solution.
Most helpful comment
Another copy-paste job... you see that Debugged label? We know full well what's causing the problem -
I just haven't decided how best to fix it. Copy-pasting code however, is an idiot's solution.