(ChunkPosition pos)
| 75 | } |
| 76 | |
| 77 | @Override |
| 78 | public CompletableFuture<String> load(ChunkPosition pos) { |
| 79 | return CompletableFuture.supplyAsync(() -> { |
| 80 | return helper.querySingleResultString("SELECT data FROM data WHERE x=? AND z=? AND world=?", pos.getX(), pos.getZ(), pos.getWorld().getName()); |
| 81 | }, exec); |
| 82 | } |
| 83 | |
| 84 | @Override |
| 85 | public CompletableFuture<Void> save(ChunkPosition pos, String data) { |
nothing calls this directly
no test coverage detected