Skip to content

Commit e7c5e76

Browse files
committed
wrong bool
1 parent 7ca9e93 commit e7c5e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handlers/worlds/chunk.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func (w *worldsHandler) processLevelChunk(pk *packet.LevelChunk, timeReceived ti
5555
}
5656

5757
pos := world.ChunkPos(pk.Position)
58-
if w.scripting.OnChunkAdd(pos, timeReceived) {
58+
if !w.scripting.OnChunkAdd(pos, timeReceived) {
5959
w.currentWorld.IgnoredChunks[pos] = true
6060
return
6161
}

0 commit comments

Comments
 (0)