Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchampions committed Jul 13, 2024
1 parent 4bcce20 commit 18984ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public void enableTicker(@Nonnull Location l) {
Validate.notNull(l, "Location cannot be null!");

ChunkPosition chunk = new ChunkPosition(l.getWorld(), l.getBlockX() >> 4, l.getBlockZ() >> 4);
Set<Location> newValue = new HashSet<>();
Set<Location> newValue = Collections.newSetFromMap(new ConcurrentHashMap<>());
Set<Location> oldValue = tickingLocations.putIfAbsent(chunk, newValue);

/**
Expand Down

0 comments on commit 18984ad

Please sign in to comment.