Fix name in legacy support in registry changes.
This commit is contained in:
parent
ef28edb526
commit
69af6a9b8c
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ public class PersistentRegistryManager
|
||||||
if (cb == null)
|
if (cb == null)
|
||||||
return null;
|
return null;
|
||||||
try {
|
try {
|
||||||
final Method mtd = cb.getClass().getMethod("onClear", Map.class);
|
final Method mtd = cb.getClass().getMethod("onCreate", Map.class);
|
||||||
return new IForgeRegistry.CreateCallback<T>()
|
return new IForgeRegistry.CreateCallback<T>()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue