
[1.21.x/alpha.12] Origin & Origin Layer argument types fail to parse in datapack functions
JoshieGemFinder opened this issue ยท 0 comments
When functions from datapacks are parsed, they are often parsed before OriginManager
and OriginLayerManager
have finished loading custom origins and layers. This means that OriginManager.getOptional(id)
and OriginLayerManager.getResult(id)
will both fail (even if the referenced origin/layer is loaded later), causing the command to error while parsing, which then results in the entire mcfunction being discarded.
Note: This same issue also occurred previously with the Apoli PowerArgumentType
(see issue #784), before being patched in apace100/apoli@27e8ce8.