Skip to content

Commit

Permalink
WTF nothing changed it worked lmfao
Browse files Browse the repository at this point in the history
  • Loading branch information
HyCraftHD committed Jul 10, 2019
1 parent d23eac1 commit 7dab65d
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -61,9 +61,7 @@ private static <T extends IForgeRegistryEntry<T>> List<T> getAndApplyNames(Funct
*/
public static <T extends IForgeRegistryEntry<T>> void applyNames(List<T> list) {
list.stream().filter(entry -> entry instanceof IURegistryType) //
.forEach(entry -> {
entry.setRegistryName(new ResourceLocation(UsefulResourcesMod.MODID, ((IURegistryType) entry).getEntryName()));
});
.forEach(entry -> entry.setRegistryName(new ResourceLocation(UsefulResourcesMod.MODID, ((IURegistryType) entry).getEntryName())));
}

}

0 comments on commit 7dab65d

Please sign in to comment.