josemmo / yamipa

Yet Another Minecraft Image Placing Addon
https://www.spigotmc.org/resources/88709/
MIT License
73 stars 19 forks source link

Images unloading with chunk borders #113

Closed GamingWithRyan closed 8 months ago

GamingWithRyan commented 10 months ago

Images are unloading when switching chunks. As seen in issue #77.

https://github.com/josemmo/yamipa/assets/118768708/a9554ad8-81ab-47fa-aae7-d75cd517c6d0

Happening on Paper 1.20.4 build #393 with Yamipa 1.3.0 and ProtocolLib 5.1.0 View Distance is set to 16

Server Plugins (23): AdvancedSigns, BKCommonLib, BlueMap (removing soon), Chunky, ChunkyBorder, CTCommons, EntityTrackerFixer, Essentials, FancyNpcs, FastAsyncWorldEdit, IronElevators, My_Worlds, PacketListenerApi, PlaceholderAPI, ProtocolLib, SignLink, spark, squaremap, TCDestinations, TCHangRail, Train_Carts, Vehicles, YamipaPlugin

josemmo commented 9 months ago

Hi, @GamingWithRyan!

Sorry for the late response.

Bug seems to be related to this code: https://github.com/josemmo/yamipa/blob/17c59ea00eb71049a08f4e94fc0423149e664d86/src/main/java/io/josemmo/bukkit/plugin/renderer/WorldAreaId.java#L89

Will work on a fix when I can find time. For now, you can temporarily lower the view distance to 12 and it should work fine.