CloudNetService / CloudNet

A modern application that can dynamically and easily deliver Minecraft oriented software
https://cloudnetservice.eu
Apache License 2.0
367 stars 115 forks source link

feat: ignore unloaded chunks when choosing a free sign #1418

Closed schucko1337 closed 2 weeks ago

schucko1337 commented 1 month ago

Motivation

On some server implementations it may cause issues when accessing a sign asynchronously when the chunk is currently unloaded.

Modification

Added a check to exclude signs that are in chunks that are not currently loaded.

Result

Signs in unloaded chunks are skipped until they are loaded.

Other context

https://discord.com/channels/325362837184577536/1247920729756799079/1249063736459792395