forked from FabricMC/fabric
fix dedicated server registry handling bug
This commit is contained in:
parent
833a3e9fb3
commit
77928a3d65
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ public abstract class MixinIdRegistry<T> implements RemappableRegistry, Listenab
|
|||
IdRegistry<Object> registry = (IdRegistry<Object>) (Object) this;
|
||||
if (listeners != null) {
|
||||
for (RegistryListener listener : listeners) {
|
||||
listener.beforeRegistryRegistration(registry, id, identifier, object, !registry.contains(identifier));
|
||||
listener.beforeRegistryRegistration(registry, id, identifier, object, !objectMap.containsKey(identifier));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue