autoQueue property
If autoQueue is enabled, you don't have to manually run the queue()
method on your RestActions.
Normal example without autoQueue
Entity.Selected().kill().queue();
Now with autoQueue
Entity.Selected().kill();
Notice: This feature does not work everywhere, features like the execute command, that implement the RestAction and can be manipulated or Executed at the same time don't now when to Execute themselves, so this feature does not work in every case.
Implementation
///Normal example without autoQueue
///```dart
///Entity.Selected().kill().queue();
///```
///Now with autoQueue
///```dart
///Entity.Selected().kill();
///```
///-----
//I would not use this feature, because you don't always want everything to be queued automatically. Just use this feature, if you know what you're doing!**
///_Notice: This feature does not work everywhere, features like the execute command, that implement the RestAction and can be manipulated or Executed at the same time don't now when to Execute themselves, so this feature does not work in every case._
static bool autoQueue = false;