mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-23 19:35:10 -06:00
Fix dumb crap
This commit is contained in:
parent
a22fd8185f
commit
8a7aa2a1b9
2 changed files with 7 additions and 0 deletions
|
|
@ -412,6 +412,7 @@ public class RegionChunk {
|
|||
if (item != null && item.isActive() && item.getLocation() != null) {
|
||||
if (!item.isPrivate() || item.droppedBy(player)) {
|
||||
ConstructGroundItem.write(buffer, item);
|
||||
updated = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
package core.game.world.update
|
||||
|
||||
import core.game.node.entity.player.Player
|
||||
import core.game.world.map.Location
|
||||
import core.game.world.map.RegionChunk
|
||||
|
|
@ -14,6 +15,11 @@ import java.util.*
|
|||
*/
|
||||
object MapChunkRenderer {
|
||||
const val buildAreaDepth = 6
|
||||
|
||||
/**
|
||||
* Sends the map chunk rendering packet.
|
||||
* @param player The player.
|
||||
*/
|
||||
@JvmStatic
|
||||
fun render(player: Player) {
|
||||
val last = player.playerFlags.lastViewport
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue