mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2025-01-01 05:57:57 +01:00
Fix bad cast
This commit is contained in:
parent
47999d323b
commit
7069966f5f
@ -26,7 +26,7 @@ public class Fast2DIterator implements Iterable<Vector2D> {
|
||||
}
|
||||
|
||||
public Fast2DIterator(@Nonnull Iterable<? extends Vector2D> iter, @Nullable HasFaweQueue editSession) {
|
||||
this(iter, (FaweQueue) editSession != null ? editSession.getQueue() : null);
|
||||
this(iter, (FaweQueue) (editSession != null ? editSession.getQueue() : null));
|
||||
}
|
||||
|
||||
public Fast2DIterator(@Nonnull Iterable<? extends Vector2D> iter, @Nullable FaweQueue faweQueue) {
|
||||
|
@ -26,7 +26,7 @@ public class FastChunkIterator implements Iterable<Vector2D> {
|
||||
}
|
||||
|
||||
public FastChunkIterator(@Nonnull Iterable<? extends Vector2D> iter, @Nullable HasFaweQueue editSession) {
|
||||
this(iter, (FaweQueue) editSession != null ? editSession.getQueue() : null);
|
||||
this(iter, (FaweQueue) (editSession != null ? editSession.getQueue() : null));
|
||||
}
|
||||
|
||||
public FastChunkIterator(@Nonnull Iterable<? extends Vector2D> iter, @Nullable FaweQueue faweQueue) {
|
||||
|
@ -26,7 +26,7 @@ public class FastIterator implements Iterable<Vector> {
|
||||
}
|
||||
|
||||
public FastIterator(@Nonnull Iterable<? extends Vector> iter, @Nullable HasFaweQueue editSession) {
|
||||
this(iter, (FaweQueue) editSession != null ? editSession.getQueue() : null);
|
||||
this(iter, (FaweQueue) (editSession != null ? editSession.getQueue() : null));
|
||||
}
|
||||
|
||||
public FastIterator(@Nonnull Iterable<? extends Vector> iter, @Nullable FaweQueue faweQueue) {
|
||||
|
Loading…
Reference in New Issue
Block a user