Skip to content

Commit 326bc02

Browse files
committed
Remove Iterable from Registry.
This is because this conflicts with Vanilla. If you want to iterate over all entries, use streamEntries instead.
1 parent 27a4128 commit 326bc02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/spongepowered/api/registry/Registry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* @param <T> The type
3838
*/
3939
@DoNotStore
40-
public interface Registry<T> extends Iterable<RegistryEntry<T>> {
40+
public interface Registry<T> {
4141

4242
/**
4343
* Gets the {@link ResourceKey key} identifying this registry.

0 commit comments

Comments
 (0)