Skip to content

Commit

Permalink
Fixed creation of islands not working on regular Spigot 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
OmerBenGera committed Jan 5, 2022
1 parent 9584020 commit bf22f8e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -19,7 +19,7 @@
public final class PlayerChunkMap extends MappedObject<net.minecraft.server.level.PlayerChunkMap> {

private static final ReflectField<Map<Long, PlayerChunk>> VISIBLE_CHUNKS = new ReflectField<>(
PlayerChunkMap.class, Map.class, Modifier.PUBLIC | Modifier.VOLATILE, 1);
net.minecraft.server.level.PlayerChunkMap.class, Map.class, Modifier.PUBLIC | Modifier.VOLATILE, 1);

public PlayerChunkMap(net.minecraft.server.level.PlayerChunkMap handle) {
super(handle);
Expand Down

0 comments on commit bf22f8e

Please sign in to comment.