Motivation
I feel confused when there is no syntax error shown but the game crashes because of one.
Twice I had a comma after the last child of a selector which gave a NullPointerException.
But it crashed on two different spots in the engine code the first in org/terasology/engine/logic/behavior/DefaultBehaviorTreeRunner.java:37 and the other in org/terasology/engine/logic/behavior/core/SelectorNode.java:23
Proposal
It would be wounderful if there was a indicator to tell you the syntax error like a red mark in the IDE.
Alternatives
A message in the console or a hard crash on behaviour Tree load would be helpful.
Motivation
I feel confused when there is no syntax error shown but the game crashes because of one.
Twice I had a comma after the last child of a selector which gave a NullPointerException.
But it crashed on two different spots in the engine code the first in org/terasology/engine/logic/behavior/DefaultBehaviorTreeRunner.java:37 and the other in org/terasology/engine/logic/behavior/core/SelectorNode.java:23
Proposal
It would be wounderful if there was a indicator to tell you the syntax error like a red mark in the IDE.
Alternatives
A message in the console or a hard crash on behaviour Tree load would be helpful.