mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-26 02:57:37 +01:00
rebase fix
This commit is contained in:
parent
09245defd6
commit
3afc644c5b
@ -153,14 +153,14 @@ public class DynamicChunk extends Chunk {
|
||||
@Override
|
||||
public void sendChunk(@NotNull Player player) {
|
||||
if (!isLoaded()) return;
|
||||
player.sendPacket(chunkCache.retrieve());
|
||||
player.sendPacket(chunkCache);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sendChunk() {
|
||||
if (!isLoaded()) return;
|
||||
if (getViewers().isEmpty()) return;
|
||||
sendPacketToViewers(chunkCache.retrieve());
|
||||
sendPacketToViewers(chunkCache);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user