diff options
Diffstat (limited to 'src/World.hpp')
-rw-r--r-- | src/World.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/World.hpp b/src/World.hpp index a90d437..6ff0619 100644 --- a/src/World.hpp +++ b/src/World.hpp @@ -16,7 +16,7 @@ class World { int dimension = 0; - std::map<Vector, PackedSection> sections; + //std::map<Vector, PackedSection> sections; std::map<Vector, Section> cachedSections; PackedSection ParseSection(StreamInput *data, Vector position); @@ -38,6 +38,8 @@ public: void ParseChunkData(std::shared_ptr<PacketMultiBlockChange> packet); + void ParseChunkData(std::shared_ptr<PacketUnloadChunk> packet); + bool isPlayerCollides(double X, double Y, double Z); std::vector<Vector> GetSectionsList(); |