Disallow setting anything but actors for mentioned events in MDEventsSet

This commit is contained in:
Joshua Ramon Enslin 2025-03-14 18:24:59 +01:00
parent a0348b135a
commit 60483d897b
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -81,9 +81,9 @@ final class MDEventsSet extends MDValueSet {
/*
* Constants for event types without places, times, actors
*/
public const EVENTS_NO_TIME = [5, 22, 23, 36];
public const EVENTS_NO_TIME = [5, 22, 23, 33, 36];
public const EVENTS_NO_ACTOR = [21, 22, 24, 36, 52];
public const EVENTS_NO_PLACE = [5, 23, 24];
public const EVENTS_NO_PLACE = [5, 23, 24, 33];
/**
* Gets a list of the entries in a translated version.