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 @Override
public void sendChunk(@NotNull Player player) { public void sendChunk(@NotNull Player player) {
if (!isLoaded()) return; if (!isLoaded()) return;
player.sendPacket(chunkCache.retrieve()); player.sendPacket(chunkCache);
} }
@Override @Override
public void sendChunk() { public void sendChunk() {
if (!isLoaded()) return; if (!isLoaded()) return;
if (getViewers().isEmpty()) return; if (getViewers().isEmpty()) return;
sendPacketToViewers(chunkCache.retrieve()); sendPacketToViewers(chunkCache);
} }
@Override @Override