9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-25 09:59:15 +00:00

[ci skip] fix build

This commit is contained in:
hayanesuru
2025-08-02 02:19:24 +09:00
parent a476b12f33
commit 106af6dc38

View File

@@ -1,7 +1,6 @@
package org.dreeam.leaf.util.map;
import com.google.common.collect.AbstractIterator;
import com.google.common.collect.Collections2;
import net.minecraft.core.BlockPos;
import net.minecraft.core.BlockPos.MutableBlockPos;
import net.minecraft.util.Mth;
@@ -22,7 +21,7 @@ public final class BlockPosIterator extends AbstractIterator<BlockPos> {
private @Nullable MutableBlockPos pos = null;
public static Iterable<BlockPos> iterable(AABB bb) {
return new BlockPosIterator(bb);
return () -> new BlockPosIterator(bb);
}
public static Iterable<BlockPos> traverseArea(Vec3 vec, AABB boundingBox) {