Bertware / bukkitgui2

A completely new version of BukkitGUI , which is easier in use, faster, and more powerful
https://dev.bukkit.org/projects/bukkitgui?gameCategorySlug=bukkit-plugins&projectID=32715
Mozilla Public License 2.0
70 stars 25 forks source link

Saving a task without selecting an action will cause big issues #96

Closed Dockter closed 9 years ago

Dockter commented 9 years ago

Ok, while playing around with 2.0, I discovered that if you some how manage to get a "Tasker" task to save without specifying an action the entire tasker tab breaks down.

If you close the BukkitGUI executable and re-launch then the tasker tab doesn't even appear within the application.

I fixed this by modifying the tasklist file and removing the task that didn't have an action specified.

I would suggest sanitizing your save(s) and making sure it cannot save a task without a action OR handle the exception thrown when a task doesn't have a action better.

P.S. thanks for all your hard work.

Bertware commented 9 years ago

I'll look at it, this shouldn't be possible indeed

Bertware commented 9 years ago

Fixed it! Fix will be included in the next release