From e6f5f9e03f673db796f1babb308609ca2576db2f Mon Sep 17 00:00:00 2001 From: Mel Date: Sun, 6 Aug 2023 01:54:27 +0200 Subject: Improve MC::Position and remove some redundant code --- src/World/ChunkRegistry.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/World/ChunkRegistry.hpp') 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 m_chunks; }; -- cgit 1.4.1