mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-26 11:07:53 +01:00
Remove unnecessary chunk viewer check
This commit is contained in:
parent
cd591dd388
commit
9157799e67
@ -158,7 +158,6 @@ public class DynamicChunk extends Chunk {
|
|||||||
@Override
|
@Override
|
||||||
public void sendChunk() {
|
public void sendChunk() {
|
||||||
if (!isLoaded()) return;
|
if (!isLoaded()) return;
|
||||||
if (getViewers().isEmpty()) return;
|
|
||||||
sendPacketToViewers(chunkCache);
|
sendPacketToViewers(chunkCache);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user