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

+1 -1
View File
@@ -46,7 +46,7 @@ ext {
MAPPING_CHANNEL = 'official'
MAPPING_VERSION = '1.18.2'
MC_VERSION = '1.18.2'
MCP_VERSION = '20220228.144236'
MCP_VERSION = '20220404.173914'
SPI_VERSION = '4.0.10'
ACCESSTRANSFORMERS_VERSION = '8.0.4'
COREMODS_VERSION = '5.0.1'
@@ -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())