-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check if "trigger" points to a valid entity event #233
Comments
export function behaviorpack_entity_check_events(
events: SMap<EntityEvent> | EntityEvent[],
diagnoser: DocumentDiagnosticsBuilder,
properties: EntityProperty[],
component_groups?: SMap<Internal.BehaviorPack.EntityComponentContainer>
) {
if (Array.isArray(events)) {
events.forEach((event) => behaviorpack_entity_check_event(event, "", diagnoser, properties, component_groups));
} else {
SMap.forEach(events, (event, key) =>
behaviorpack_entity_check_event(event, key, diagnoser, properties, component_groups)
);
}
} Why is |
Its very old syntax yeah, can't find examples atm |
Am I safe to remove it or should I leave it in just in case? |
Shouldn't hurt us to keep it in. |
Fair enough |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: