Type safety.
parent
a7e3541668
commit
86a4b04332
|
@ -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) ->
|
||||
|
|
Loading…
Reference in New Issue