mirror of
https://github.com/BX-Team/DivineMC.git
synced 2025-12-23 00:39:16 +00:00
another patch applies
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package gg.pufferfish.pufferfish.util;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public record IterableWrapper<T>(Iterator<T> iterator) implements Iterable<T> {
|
||||
@NotNull
|
||||
@Override
|
||||
public Iterator<T> iterator() {
|
||||
return iterator;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user