3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-28 00:50:13 +01:00

Fix remove in ChunkLightStorage

Dieser Commit ist enthalten in:
Nassim Jahnke 2021-10-08 10:05:50 +02:00
Ursprung a2acd261d8
Commit 3feff8e751
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B

Datei anzeigen

@ -35,7 +35,7 @@ public final class ChunkLightStorage implements StorableObject {
} }
public @Nullable ChunkLight removeLight(final int x, final int z) { 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) { public void addLoadedChunk(final int x, final int z) {