diff options
author | tycho <work.tycho@gmail.com> | 2015-06-23 22:16:38 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-06-23 22:27:37 +0200 |
commit | b02b262a7cedeb3114ca0d539e2affcfbea80af9 (patch) | |
tree | c58ce956008ec83923891f18880600a5e6ba06b5 /src | |
parent | Merge pull request #2285 from cuberite/MelonFix (diff) | |
download | cuberite-b02b262a7cedeb3114ca0d539e2affcfbea80af9.tar cuberite-b02b262a7cedeb3114ca0d539e2affcfbea80af9.tar.gz cuberite-b02b262a7cedeb3114ca0d539e2affcfbea80af9.tar.bz2 cuberite-b02b262a7cedeb3114ca0d539e2affcfbea80af9.tar.lz cuberite-b02b262a7cedeb3114ca0d539e2affcfbea80af9.tar.xz cuberite-b02b262a7cedeb3114ca0d539e2affcfbea80af9.tar.zst cuberite-b02b262a7cedeb3114ca0d539e2affcfbea80af9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Chunk.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 3897ea3a8..a3192f638 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -1035,6 +1035,9 @@ void cChunk::GrowMelonPumpkin(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_Bl Meta ); VERIFY(UnboundedRelFastSetBlock(a_RelX + x, a_RelY, a_RelZ + z, ProduceType, Meta)); + auto Absolute = RelativeToAbsolute(Vector3i{a_RelX + x, a_RelY, a_RelZ + z}, m_PosX, m_PosZ); + cChunkInterface ChunkInterface(this->GetWorld()->GetChunkMap()); + cBlockHandler::NeighborChanged(ChunkInterface, Absolute.x, Absolute.y, Absolute.z); break; } } |