kalculos / AstralFlow

The plugin featurize your spigot servers.
https://af.ib67.io/docs
GNU Lesser General Public License v2.1
25 stars 4 forks source link

[FEAT] Better MachineContext Delivery #216

Open iceBear67 opened 2 years ago

iceBear67 commented 2 years ago

In the previous version, we can receive a MachineContext when machine is being created.
But there are side-effects:

What is really annoying is the first one, for which we can't handle context easily because we'll have to store something into state and check if context is null.

Therefore, a cached context or something else is excepted to solve this problem.