mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fix compiler error in eclipse, bump MCPConfig for FF/Record fix.
This commit is contained in:
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())
|
||||
|
||||
Reference in new issue
Block a user