Skip to content

Commit 9991fb0

Browse files
removed 0 ticks invalid chunk check since large inhabitedTimes are working now
1 parent f70053e commit 9991fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ regionLoop:
136136
zPos := chunk.ZPos + chunk.Level.ZPos
137137
inhabitedTime := Max(chunk.InhabitedTime, chunk.Level.InhabitedTime)
138138

139-
if inhabitedTime <= 0 {
139+
if inhabitedTime < 0 {
140140
log.Println("Skipping", file, "because of an invalid or unreadable chunk at x:", xPos, "z:", zPos, "InhabitedTime =", inhabitedTime)
141141
continue regionLoop
142142
}

0 commit comments

Comments
 (0)