APDevTeam / Movecraft

The original movement plugin for Paper. Reloaded. Again.
GNU General Public License v3.0
122 stars 74 forks source link

Crafts with no pilots gets released no matter what #632

Open goodroach opened 4 months ago

goodroach commented 4 months ago

Is your feature request related to a problem? Please describe. Whenever I make the plugin create and pilot a new instance of a non-player piloted craft (like an NPC ship) it will automatically release itself because of AsyncManager here. Describe the solution you'd like I think there should be a config option to allow certain craft types to be persistently piloted. If there is a better solution for this, please let me know.

TylerS1066 commented 3 months ago

We'll have to think on how we want to handle this. I'm not a big fan of the AsyncManager class, but we may need to figure out a temporary patch. Rather than put it on the configuration side for the server owner, perhaps a flag of the craft object itself?