summaryrefslogtreecommitdiffstats
path: root/source/Piston.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Piston.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Piston.cpp b/source/Piston.cpp
index 750d76bb0..a235da879 100644
--- a/source/Piston.cpp
+++ b/source/Piston.cpp
@@ -67,7 +67,7 @@ void cPiston::ExtendPiston( int pistx, int pisty, int pistz )
if (currBlock != E_BLOCK_AIR)
{
cBlockHandler * Handler = BlockHandler(currBlock);
- if(Handler->DropOnUnsuitable())
+ if (Handler->DoesDropOnUnsuitable())
{
Handler->DropBlock(m_World, pistx, pisty, pistz);
}