diff --git a/storage/storage_server.go b/storage/storage_server.go index 160db1b..3036e98 100644 --- a/storage/storage_server.go +++ b/storage/storage_server.go @@ -11,14 +11,14 @@ type StorageServer interface { SetStorageRoot(path string) // Block-level interactions - ChangeBlock(targetState world.BlockID, world_position world.BlockPos) error + ChangeBlock(pos world.BlockPos, targetState world.BlockID) error ReadBlockAt(pos world.BlockPos) (world.BlockID, error) // Region-level interactions ChangeBlockRange(targetState world.BlockID, start, end world.BlockPos) error // Network-level operations - ReadChunkAt(pos world.ChunkPos) error + ReadChunkAt(pos world.ChunkPos) (world.ChunkData, error) } var (