Improved fast mode.

BukkitWorld's fast lighting mode now also does what the old fast mode did.
In addition, both fast lighting mode and the fallback resend all modified chunks when done.
This should prevent display issues.
This commit is contained in:
TomyLobo
2011-10-25 18:29:37 +02:00
parent 3ed867ed53
commit 7dfc2a34e5
2 changed files with 27 additions and 13 deletions

View File

@ -326,5 +326,12 @@ public abstract class LocalWorld {
return 127;
}
/**
* Does some post-processing. Should be called after using fast mode
*
* @param chunks the chunks to fix
*/
public void fixAfterFastMode(Iterable<BlockVector2D> chunks) {}
public void fixLighting(Iterable<BlockVector2D> chunks) {}
}