mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-19 01:44:06 +00:00
ChunkCache: remove outdated TODO comment
we don't set the entire chunk during lighting updates anymore, so updating light doesn't trigger onChunkChanged().
This commit is contained in:
parent
b4afa46fad
commit
0251359179
1
src/network/mcpe/cache/ChunkCache.php
vendored
1
src/network/mcpe/cache/ChunkCache.php
vendored
@ -184,7 +184,6 @@ class ChunkCache implements ChunkListener{
|
||||
* @see ChunkListener::onChunkChanged()
|
||||
*/
|
||||
public function onChunkChanged(int $chunkX, int $chunkZ, Chunk $chunk) : void{
|
||||
//FIXME: this gets fired for stuff that doesn't change terrain related things (like lighting updates)
|
||||
$this->destroyOrRestart($chunkX, $chunkZ);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user