Skip to content

Commit

Permalink
why was this synchronized?
Browse files Browse the repository at this point in the history
  • Loading branch information
Steanky committed Jan 24, 2024
1 parent 29f1905 commit d3448e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import java.util.Collection;

public record InstanceData(@NotNull Long2ObjectMap<Section[]> chunkData) implements Serializable {
public static InstanceData of(Instance instance) {
public static @NotNull InstanceData of(@NotNull Instance instance) {
Collection<Chunk> chunks = instance.getChunks();

Long2ObjectMap<Section[]> data = new Long2ObjectOpenHashMap<>(chunks.size());
Expand Down
2 changes: 1 addition & 1 deletion minestom

0 comments on commit d3448e4

Please sign in to comment.