summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockVine.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-14 01:30:40 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2021-03-15 03:44:39 +0100
commitde76503d5c87fd7782b0aa3bbda9bdd997ad7fa8 (patch)
tree0f58be6c2883a9c0e258cc410ad04885b8164451 /src/Blocks/BlockVine.h
parentProperly deprecate more XYZ parameter'd functions (#5147) (diff)
downloadcuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.tar
cuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.tar.gz
cuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.tar.bz2
cuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.tar.lz
cuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.tar.xz
cuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.tar.zst
cuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockVine.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Blocks/BlockVine.h b/src/Blocks/BlockVine.h
index 8d42137d4..80498ee63 100644
--- a/src/Blocks/BlockVine.h
+++ b/src/Blocks/BlockVine.h
@@ -180,10 +180,6 @@ private:
if ((Common == 0) && !HasTop)
{
// The vine just lost all its support, destroy the block:
- if (DoesDropOnUnsuitable())
- {
- a_ChunkInterface.DropBlockAsPickups(a_Chunk.RelativeToAbsolute(a_RelPos));
- }
a_Chunk.SetBlock(a_RelPos, E_BLOCK_AIR, 0);
return false;
}
@@ -207,15 +203,6 @@ private:
- virtual bool DoesDropOnUnsuitable(void) const override
- {
- return false;
- }
-
-
-
-
-
virtual void OnUpdate(
cChunkInterface & a_ChunkInterface,
cWorldInterface & a_WorldInterface,