mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-25 19:45:21 +01:00
Fix remove in ChunkLightStorage
This commit is contained in:
parent
a2acd261d8
commit
3feff8e751
@ -35,7 +35,7 @@ public final class ChunkLightStorage implements StorableObject {
|
||||
}
|
||||
|
||||
public @Nullable ChunkLight removeLight(final int x, final int z) {
|
||||
return lightPackets.get(getChunkSectionIndex(x, z));
|
||||
return lightPackets.remove(getChunkSectionIndex(x, z));
|
||||
}
|
||||
|
||||
public void addLoadedChunk(final int x, final int z) {
|
||||
|
Loading…
Reference in New Issue
Block a user