diff options
| author | Mel <einebeere@gmail.com> | 2023-08-06 01:54:27 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2023-08-06 01:54:27 +0200 |
| commit | e6f5f9e03f673db796f1babb308609ca2576db2f (patch) | |
| tree | fbc7d9451ec943a107f0ab54b3de7a7bd25e656d /src/World/ChunkRegistry.hpp | |
| parent | a627fb7038c94de9be9709ea88dcd1dddc95c5a3 (diff) | |
| download | meowcraft-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.hpp | 2 |
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; }; |
