mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-26 22:10:22 +00:00
fix OOBE with low res column
This commit is contained in:
1 parent
61a40b4825
commit
8b12dda604
1 file changed
+4
-1
@@ -42,8 +42,11 @@ public interface Column<T> {
|
|||||||
|
|
||||||
int max = getMaxY() - 1;
|
int max = getMaxY() - 1;
|
||||||
|
|
||||||
while(y < max) {
|
while(true) {
|
||||||
y += resolution;
|
y += resolution;
|
||||||
|
if(y >= max) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
T current = get(y);
|
T current = get(y);
|
||||||
|
|
||||||
if(!current.equals(runningObj)) {
|
if(!current.equals(runningObj)) {
|
||||||
|
|||||||
Reference in new issue
Block a user