Type safety.

pull/12/head
Caroline Bell 2020-03-02 01:49:35 -08:00
parent a7e3541668
commit 86a4b04332
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ public class World implements BlockAccess, WorldGenConstants
public void unloadAllChunks()
{
LongList chunkPositions = new LongArrayList();
@SuppressWarnings("rawtypes") List<CompletableFuture> futures = new ArrayList<>();
List<CompletableFuture<Void>> futures = new ArrayList<>();
if (this.chunks != null)
{
this.chunks.forEach((pos, chunk) ->