Substitutions need to be activated when they're registered, otherwise they won't appear in world, ever.
This commit is contained in:
parent
3df54d3d0f
commit
2451e49df2
1 changed files with 1 additions and 0 deletions
|
@ -1000,6 +1000,7 @@ public class GameData {
|
|||
void registerSubstitutionAlias(String nameToSubstitute, Type type, Object toReplace) throws ExistingSubstitutionException
|
||||
{
|
||||
type.getRegistry().addSubstitutionAlias(Loader.instance().activeModContainer().getModId(),nameToSubstitute, toReplace);
|
||||
type.getRegistry().activateSubstitution(nameToSubstitute);
|
||||
}
|
||||
static <T> RegistryDelegate<T> buildDelegate(T referant, Class<T> type)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue