diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-01 12:25:06 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-04 19:15:18 +0200 |
commit | c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a (patch) | |
tree | 26ac0ff00942aef4deafdc2048f8c14a168f4f93 /src/Blocks/BlockFluid.h | |
parent | OnBroken/OnPlaced are for entity actions (diff) | |
download | cuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.tar cuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.tar.gz cuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.tar.bz2 cuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.tar.lz cuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.tar.xz cuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.tar.zst cuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockFluid.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/Blocks/BlockFluid.h b/src/Blocks/BlockFluid.h index e856dba38..35b702f4b 100644 --- a/src/Blocks/BlockFluid.h +++ b/src/Blocks/BlockFluid.h @@ -43,32 +43,6 @@ public: - virtual void Check( - cChunkInterface & a_ChunkInterface, cBlockPluginInterface & a_PluginInterface, - Vector3i a_RelPos, - cChunk & a_Chunk - ) override - { - switch (m_BlockType) - { - case E_BLOCK_STATIONARY_LAVA: - { - a_Chunk.FastSetBlock(a_RelPos, E_BLOCK_LAVA, a_Chunk.GetMeta(a_RelPos)); - break; - } - case E_BLOCK_STATIONARY_WATER: - { - a_Chunk.FastSetBlock(a_RelPos, E_BLOCK_WATER, a_Chunk.GetMeta(a_RelPos)); - break; - } - } - Super::Check(a_ChunkInterface, a_PluginInterface, a_RelPos, a_Chunk); - } - - - - - virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override { UNUSED(a_Meta); |