diff options
author | Mattes D <github@xoft.cz> | 2014-03-02 16:13:43 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-03-02 16:13:43 +0100 |
commit | b17d04737d11c5698a6869c70031646723d79f11 (patch) | |
tree | d71275553552a16dd2b9ba949cd5abf8baf9fa5a /src/Piston.cpp | |
parent | Merge pull request #745 from tonibm19/master (diff) | |
parent | GetById => Get (diff) | |
download | cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.gz cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.bz2 cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.lz cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.xz cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.zst cuberite-b17d04737d11c5698a6869c70031646723d79f11.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Piston.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Piston.cpp b/src/Piston.cpp index 5eb14451d..b21d576f3 100644 --- a/src/Piston.cpp +++ b/src/Piston.cpp @@ -242,7 +242,7 @@ bool cPiston::CanPush(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) bool cPiston::CanBreakPush(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) { UNUSED(a_BlockMeta); - return g_BlockPistonBreakable[a_BlockType]; + return cBlockInfo::IsPistonBreakable(a_BlockType); } |