HACK bare minimum to make forge 1.13 load

Probably introduces 100 bugs and 200 corner cases. \o/
This commit is contained in:
Petr Mrázek
2019-02-22 02:24:20 +01:00
parent 5074a97cb3
commit d5d710b89e
7 changed files with 61 additions and 12 deletions

View File

@@ -991,7 +991,7 @@ bool ComponentList::removeComponent_internal(ComponentPtr patch)
// FIXME: we need a generic way of removing local resources, not just jar mods...
auto preRemoveJarMod = [&](LibraryPtr jarMod) -> bool
{
if (!jarMod->isLocal())
if (!jarMod->isInstanceLocal())
{
return true;
}