rebase fix

This commit is contained in:
mworzala 2022-01-10 10:29:31 -05:00 committed by TheMode
parent 09245defd6
commit 3afc644c5b

View File

@ -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