Skip to content

Commit

Permalink
small code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredlll08 committed May 2, 2022
1 parent 738c8ef commit bd4fa99
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public interface IRegistryHelper {

default Set<ResourceKey<?>> serverOnlyRegistries() {

Iterator<RegistryAccess.RegistryData<?>> iterator = RegistryAccess.knownRegistries().iterator();
return StreamSupport.stream(RegistryAccess.knownRegistries().spliterator(), false)
.filter(registryData -> !registryData.sendToClient())
.map(RegistryAccess.RegistryData::key)
Expand Down

0 comments on commit bd4fa99

Please sign in to comment.