Fix compiler error in eclipse, bump MCPConfig for FF/Record fix.

This commit is contained in:
LexManos committed 2022-04-04 18:02:20 -07:00
1 parent 87c4f90fb2
commit d33f24ff33
2 files changed
+3 -3

No files matched your search

@@ -454,10 +454,10 @@ public class DeferredRegister<T>
event.create(this.registryFactory.get(), this::onFill);
}
@SuppressWarnings({ "unchecked", "removal" })
@SuppressWarnings({ "unchecked", "removal", "rawtypes" })
private void vanillaRegister(VanillaRegisterEvent event)
{
if (this.registryKey != null && event.vanillaRegistry.key() == this.registryKey)
if (this.registryKey != null && event.vanillaRegistry.key() == (ResourceKey)this.registryKey)
{
this.seenRegisterEvent = true;
for (Entry<RegistryObject<T>, Supplier<? extends T>> e : entries.entrySet())