mirror of
https://github.com/Minestom/Minestom.git
synced 2024-09-29 23:17:59 +02:00
Return non-fastutil type
This commit is contained in:
parent
12adb9a965
commit
0c1b93a82b
@ -486,7 +486,7 @@ public final class MinecraftServer {
|
|||||||
|
|
||||||
player.refreshVisibleChunks(playerChunk);
|
player.refreshVisibleChunks(playerChunk);
|
||||||
}
|
}
|
||||||
});
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -197,7 +197,7 @@ public abstract class Chunk implements Viewable, DataContainer {
|
|||||||
* @return the block entities in this chunk
|
* @return the block entities in this chunk
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
public abstract IntSet getBlockEntities();
|
public abstract Set<Integer> getBlockEntities();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the last time that this chunk changed.
|
* Gets the last time that this chunk changed.
|
||||||
|
@ -193,7 +193,7 @@ public class DynamicChunk extends Chunk {
|
|||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public IntSet getBlockEntities() {
|
public Set<Integer> getBlockEntities() {
|
||||||
return blockEntities;
|
return blockEntities;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user