NewSoupVi
7bdaaa25c1
Core: Prevent worlds from using LogicMixin incorrectly (having class variables without an init_mixin) ( #3974 )
...
* Core: Prevent people from using LogicMixin incorrectly
There's a world that ran into some issues because it defined its custom LogicMixin variables at the class level.
This caused "instance bleed" when new CollectionState objects were created.
I don't think there is ever a reason to have a non-function class variable on LogicMixin without also having `init_mixin`, so this asserts that this is the case.
Tested:
Doesn't fail any current worlds
Correctly fails the world in question
Also, not gonna call out that world because it was literally my fault for explaining it to them wrong :D
* Verbose af
* Update AutoWorld.py
2025-04-05 18:06:30 +02:00
..
2025-03-14 08:24:37 +01:00
2025-03-24 22:26:30 +01:00
2025-01-12 19:00:20 +01:00
2025-03-14 08:24:37 +01:00
2025-04-04 23:11:45 +02:00
2024-08-29 08:12:58 +02:00
2025-04-04 23:11:45 +02:00
2024-04-12 00:32:10 -04:00
2025-03-08 11:59:35 -05:00
2024-07-31 17:32:51 +02:00
2024-11-06 09:37:36 +01:00
2025-03-17 02:46:34 +01:00
2024-11-07 10:35:12 +01:00
2025-04-01 18:09:59 +02:00
2025-04-04 23:11:45 +02:00
2025-04-01 12:37:49 -04:00
2025-04-05 10:27:51 -04:00
2025-03-08 01:45:52 +01:00
2025-01-14 10:49:30 +01:00
2025-04-05 08:19:54 -04:00
2025-03-29 17:32:33 +01:00
2025-03-29 17:32:33 +01:00
2025-03-28 00:28:10 +01:00
2025-01-13 18:35:01 -05:00
2024-06-01 06:07:13 -05:00
2025-04-04 23:11:45 +02:00
2025-01-06 09:42:18 -05:00
2025-03-29 17:32:33 +01:00
2025-03-20 11:49:55 -04:00
2024-06-01 06:07:13 -05:00
2024-12-21 23:12:35 +01:00
2025-01-27 01:52:02 +01:00
2025-03-14 08:24:37 +01:00
2025-04-01 16:29:32 +02:00
2025-04-01 16:29:32 +02:00
2025-04-01 16:29:32 +02:00
2025-03-27 01:32:39 +01:00
2024-12-19 20:47:33 -05:00
2025-01-29 02:03:37 +01:00
2025-03-19 15:52:14 -04:00
2025-03-24 22:26:30 +01:00
2025-04-01 18:10:51 +02:00
2025-02-27 11:13:37 -05:00
2025-04-01 16:29:32 +02:00
2025-04-01 18:08:09 +02:00
2025-02-23 17:27:05 +01:00
2025-04-04 23:11:45 +02:00
2025-04-01 16:29:32 +02:00
2024-10-29 11:07:49 +01:00
2025-04-02 00:50:39 +02:00
2025-04-04 10:48:47 +02:00
2024-12-09 01:57:34 +01:00
2024-11-05 08:33:41 +00:00
2024-08-07 23:57:07 +02:00
2025-03-30 22:19:24 +02:00
2024-12-07 11:29:27 +01:00
2025-04-04 23:11:45 +02:00
2025-02-07 21:06:06 +01:00
2024-07-22 01:47:46 +02:00
2025-04-01 18:14:47 +02:00
2025-03-08 12:07:50 -05:00
2025-04-01 16:29:32 +02:00
2025-01-19 23:07:01 -05:00
2025-01-17 18:53:29 +01:00
2024-07-31 18:27:35 +02:00
2025-04-05 08:20:51 -04:00
2025-01-10 23:28:38 +01:00
2024-06-01 06:07:13 -05:00
2025-03-08 11:54:23 -05:00
2025-03-24 22:26:30 +01:00
2025-04-05 00:53:13 +02:00
2025-04-01 16:29:32 +02:00
2024-08-12 01:53:40 +02:00
2024-08-18 23:03:57 +02:00
2024-05-16 18:46:13 +02:00
2025-04-05 17:48:18 +02:00
2024-10-28 02:37:21 +01:00
2025-04-05 16:07:37 +02:00
2024-12-01 04:09:22 +01:00
2025-03-14 08:24:37 +01:00
2025-03-24 22:26:30 +01:00
2024-11-27 03:28:00 +01:00
2025-01-07 00:10:23 +01:00
2025-04-05 18:06:30 +02:00
2024-03-22 09:02:38 +01:00
2025-04-01 21:28:59 +02:00