diff options
Diffstat (limited to 'src/Blocks/BlockBed.h')
-rw-r--r-- | src/Blocks/BlockBed.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Blocks/BlockBed.h b/src/Blocks/BlockBed.h index 46f361686..905c0ea76 100644 --- a/src/Blocks/BlockBed.h +++ b/src/Blocks/BlockBed.h @@ -36,11 +36,6 @@ public: a_Pickups.push_back(cItem(E_ITEM_BED, 1, 0)); } - virtual bool CanDirtGrowGrass(NIBBLETYPE a_Meta) override - { - return true; - } - // Bed specific helper functions static NIBBLETYPE RotationToMetaData(double a_Rotation) @@ -53,7 +48,7 @@ public: a_Rotation = (a_Rotation / 360) * 4; - return ((char)a_Rotation + 2) % 4; + return (static_cast<NIBBLETYPE>(a_Rotation + 2)) % 4; } static Vector3i MetaDataToDirection(NIBBLETYPE a_MetaData) |