Dylan T.
Dylan T.
If we're going with enums I would prefer to ditch the numeric values entirely. They have no purpose except to be implicitly misused as Minecraft constants.
> > If we're going with enums I would prefer to ditch the numeric values entirely. They have no purpose except to be implicitly misused as Minecraft constants. > >...
For now I've resorted to just ignoring the duplicates, since this is a major issue that is actively causing data loss for older worlds. 3e0d9ef6b6c5fb45e3745a121296e75631b3eefe
There are currently no unit tests which test serialize API, which is a problem because this is quite a mission critical component
This isn't a bug report, so it's not related that way, no. I have no idea what's behind #63 since I haven't investigated it yet.
In conjunction with Thread::getSharedGlobals(), this could become a powerful tool for thread bootstrapping
Updated test case for ext-pmmpthread v6: ```php
This is also a problem for global constants. Unfortunately, it's not possible to tell where a constant was declared, which is problematic.
It turns out there's another reason this is a problem: it becomes impossible to use threads within the scope of a single file (script), since the classes declared in the...
Related to #111, in that the solution appears to be the same: All classes and functions declared within a copied class's file must also be copied.