diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-23 17:23:22 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-23 17:23:22 +0200 |
commit | bdf73a67ffd964c37db5a9694424380bfd685c95 (patch) | |
tree | 3d313b318623eb7e7c46aed80c10e7fe896a5587 /src/World.hpp | |
parent | 2017-08-20 (diff) | |
download | AltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.tar AltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.tar.gz AltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.tar.bz2 AltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.tar.lz AltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.tar.xz AltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.tar.zst AltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.zip |
Diffstat (limited to '')
-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(); |