Skip to content

Commit

Permalink
Properly pass-through event
Browse files Browse the repository at this point in the history
Signed-off-by: TheSilkMiner <thesilkminer@outlook.com>
  • Loading branch information
TheSilkMiner committed Jun 21, 2022
1 parent e3114e5 commit 6ef4887
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import com.blamejared.contenttweaker.core.api.plugin.FactoryMappingRegistration;
import com.blamejared.contenttweaker.core.api.plugin.ObjectTypeRegistration;
import com.blamejared.contenttweaker.core.api.plugin.ReferenceFactoryRegistration;
import com.blamejared.contenttweaker.core.api.plugin.ResolverRegistration;
import com.blamejared.contenttweaker.core.api.plugin.RegistryResolverRegistration;
import net.minecraft.resources.ResourceLocation;

record DecoratedContentTweakerPlugin(ResourceLocation id, ContentTweakerPluginProvider wrapped) implements ContentTweakerPluginProvider {
Expand All @@ -26,7 +26,7 @@ public void registerReferenceFactories(final ReferenceFactoryRegistration regist
}

@Override
public void registerResolvers(final ResolverRegistration registration) {
public void registerResolvers(final RegistryResolverRegistration registration) {
this.wrapped().registerResolvers(registration);
}

Expand Down

0 comments on commit 6ef4887

Please sign in to comment.