Change Biome Type
#15
You cannot reliably get all loaded chunks. You either want the chunks loaded, and use the cWorld:ChunkStay() function to make sure they are loaded, or keep track of the chunks using the loading and unloading hooks - those are serialized so you're guaranteed that the chunks that you have in your list are loaded. This won't work well with plugin reloads, though.

Alright, making a callback to enumerate all loaded chunks sounds like a good idea in this context.
Reply
Thanks given by:


Messages In This Thread
Change Biome Type - by jimmis98 - 07-05-2014, 08:05 PM
RE: Change Biome Type - by NiLSPACE - 07-05-2014, 09:36 PM
RE: Change Biome Type - by jimmis98 - 07-05-2014, 10:04 PM
RE: Change Biome Type - by NiLSPACE - 07-05-2014, 10:11 PM
RE: Change Biome Type - by jimmis98 - 07-05-2014, 10:26 PM
RE: Change Biome Type - by worktycho - 07-05-2014, 10:40 PM
RE: Change Biome Type - by bearbin - 07-06-2014, 12:32 AM
RE: Change Biome Type - by tigerw - 07-06-2014, 12:50 AM
RE: Change Biome Type - by worktycho - 07-06-2014, 01:32 AM
RE: Change Biome Type - by bearbin - 07-06-2014, 02:19 AM
RE: Change Biome Type - by jimmis98 - 07-06-2014, 02:22 AM
RE: Change Biome Type - by tigerw - 07-06-2014, 02:42 AM
RE: Change Biome Type - by xoft - 07-06-2014, 09:24 PM
RE: Change Biome Type - by tigerw - 07-07-2014, 12:14 AM
RE: Change Biome Type - by xoft - 07-08-2014, 03:36 AM



Users browsing this thread: 1 Guest(s)