From 04ab1a3420b46af046a898ee5510e0d9b25ed24c Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sun, 27 Aug 2017 20:24:28 +0500 Subject: 2017-08-27 --- src/World.hpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/World.hpp') diff --git a/src/World.hpp b/src/World.hpp index 6ff0619..a5cf60c 100644 --- a/src/World.hpp +++ b/src/World.hpp @@ -16,17 +16,15 @@ class World { int dimension = 0; - //std::map sections; - std::map cachedSections; - PackedSection ParseSection(StreamInput *data, Vector position); + std::map sections; + + Section ParseSection(StreamInput *data, Vector position); std::vector entities; std::mutex entitiesMutex; - Block& GetBlock(Vector worldPosition); - public: World(); -- cgit v1.2.3