rozukke / mcpp

A library to interface with Minecraft using C++.
https://rozukke.github.io/mcpp/
Apache License 2.0
104 stars 18 forks source link

player leaving the world midway through the program doesn't throw an exception #99

Open rgarg3865 opened 3 weeks ago

rgarg3865 commented 3 weeks ago

run getPlayerPosition() while there is a player in the minecraft world, add a delay of 10 seconds during which you should leave the world. run getPlayerPosition() again within the same program and mcpp should throw an exception since there is no longer a player in the world, but it doesn't.

rozukke commented 3 weeks ago

This doesn't seem like the sort of issue that is important for the scale of this project (which is that it's not really meant for serious applications). I can take a look to see if this is easily implementable, but will not do any deliberate fixes otherwise, as this is very much an edge case.