This commit is contained in:
dfsek
2021-05-02 22:26:23 -07:00
parent 138ee0a448
commit 1d4b0bc100
15 changed files with 11 additions and 52 deletions

View File

@@ -19,8 +19,6 @@ public interface World extends Handle {
ChunkGenerator getGenerator();
String getName();
Chunk getChunkAt(int x, int z);
default Chunk getChunkAt(Location location) {

View File

@@ -30,11 +30,6 @@ public class DummyWorld implements World {
return () -> (GeneratorWrapper) () -> null;
}
@Override
public String getName() {
return "DUMMY";
}
@Override
public Chunk getChunkAt(int x, int z) {
throw new UnsupportedOperationException("Cannot get chunk in DummyWorld");