No description
Find a file
loki5512344 061246511b Fix ghost blocks and add safe teleport
- Add BlockUpdateUtil for sending block update packets to clients
  - sendBlockUpdate() - update single block for visible players
  - sendRegionUpdate() - batch update for cuboid regions
  - sendLocationsUpdate() - efficient update for specific positions
  - refreshChunks() - full chunk resync if needed
  - findSafeTeleportLocation() - prevents player suffocation

- Update BukkitBlockSetter to send block updates after placement
  - Prevents ghost blocks when setting many blocks quickly
  - Uses main thread for packet sending after async block placement

- Update MineResetHandler.teleportPlayers() to use safe teleport
  - Finds safe location near configured teleport destination
  - Prevents players from spawning inside blocks

Ghost blocks occur when server sets blocks without notifying clients,
causing invisible blocks or desync. Fixed by explicit packet updates.
2026-05-31 22:56:38 +02:00
gradle/wrapper refactor: migrate package from com.loki to dev.loki 2026-05-31 21:34:44 +02:00
libs chore: initial commit - LoMines v3.0.0 base structure 2026-04-23 23:01:11 +02:00
src Fix ghost blocks and add safe teleport 2026-05-31 22:56:38 +02:00
.gitignore refactor: migrate package from com.loki to dev.loki 2026-05-31 21:34:44 +02:00
ARCHITECTURE.md chore: initial commit - LoMines v3.0.0 base structure 2026-04-23 23:01:11 +02:00
build.gradle.kts refactor: migrate package from com.loki to dev.loki 2026-05-31 21:34:44 +02:00
gradlew.bat refactor: migrate package from com.loki to dev.loki 2026-05-31 21:34:44 +02:00
settings.gradle.kts chore: initial commit - LoMines v3.0.0 base structure 2026-04-23 23:01:11 +02:00
todo.md Update TODO.md with WorldGuard integration progress 2026-05-31 22:41:49 +02:00