06-14-2015, 06:09 PM
Eventually, yes, we'll need something like that, but it won't make it the Lua Challenge deadline
I'd recommend keeping track of the spawned meteors in the plugin, and only process those ghast fireballs that are found in that table as meteors. So if there is indeed a world save / load event in the middle of this, the fireballs get converted to regular ones.
It shouldn't be much of a problem since natural fireballs only occur in the Nether and the Nether has a roof where meteors are quite unlikely anyway
I'd recommend keeping track of the spawned meteors in the plugin, and only process those ghast fireballs that are found in that table as meteors. So if there is indeed a world save / load event in the middle of this, the fireballs get converted to regular ones.
It shouldn't be much of a problem since natural fireballs only occur in the Nether and the Nether has a roof where meteors are quite unlikely anyway