Type safety.
parent
a7e3541668
commit
86a4b04332
|
@ -197,7 +197,7 @@ public class World implements BlockAccess, WorldGenConstants
|
||||||
public void unloadAllChunks()
|
public void unloadAllChunks()
|
||||||
{
|
{
|
||||||
LongList chunkPositions = new LongArrayList();
|
LongList chunkPositions = new LongArrayList();
|
||||||
@SuppressWarnings("rawtypes") List<CompletableFuture> futures = new ArrayList<>();
|
List<CompletableFuture<Void>> futures = new ArrayList<>();
|
||||||
if (this.chunks != null)
|
if (this.chunks != null)
|
||||||
{
|
{
|
||||||
this.chunks.forEach((pos, chunk) ->
|
this.chunks.forEach((pos, chunk) ->
|
||||||
|
|
Loading…
Reference in New Issue