summary refs log tree commit diff
path: root/src/World/ChunkRegistry.hpp
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2023-08-06 01:54:27 +0200
committerMel <einebeere@gmail.com>2023-08-06 01:54:27 +0200
commite6f5f9e03f673db796f1babb308609ca2576db2f (patch)
treefbc7d9451ec943a107f0ab54b3de7a7bd25e656d /src/World/ChunkRegistry.hpp
parenta627fb7038c94de9be9709ea88dcd1dddc95c5a3 (diff)
downloadmeowcraft-e6f5f9e03f673db796f1babb308609ca2576db2f.tar.zst
meowcraft-e6f5f9e03f673db796f1babb308609ca2576db2f.zip
Improve MC::Position and remove some redundant code
Diffstat (limited to 'src/World/ChunkRegistry.hpp')
-rw-r--r--src/World/ChunkRegistry.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World/ChunkRegistry.hpp b/src/World/ChunkRegistry.hpp
index 2c515c5..ea887e4 100644
--- a/src/World/ChunkRegistry.hpp
+++ b/src/World/ChunkRegistry.hpp
@@ -41,7 +41,7 @@ public:
     Data& get(ChunkIndex index);
 
     Data& find(Position::BlockWorld pos);
-    Data& find(ChunkIndex chunk, Position::BlockLocal pos);
+    Data& find(Position::World pos);
 private:
     std::unordered_map<ChunkIndex, Data> m_chunks;
 };