This commit is contained in:
Player Name 2026-06-28 00:20:08 +02:00
parent b9b350ef3a
commit c81bd3cd7c

View file

@ -2,13 +2,11 @@ package core.game.world.update
import core.game.node.entity.player.Player
import core.game.world.map.RegionChunk
import core.game.world.map.RegionManager
import core.game.world.map.build.DynamicRegion
import core.net.packet.PacketRepository
import core.net.packet.context.ClearChunkContext
import core.net.packet.out.ClearRegionChunk
import java.util.*
import kotlin.math.abs
/**
* Handles the rendering of the player's surrounding map chunks.
@ -59,7 +57,6 @@ object MapChunkRenderer {
if (updated.contains(chunk)) {
chunk.update(player)
} else {
println("Syncing ${chunk.currentBase}")
chunk.synchronize(player)
}
last[x][y] = chunk