summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockPumpkin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Blocks/BlockPumpkin.h b/source/Blocks/BlockPumpkin.h
index 3c9bec43a..5db4f98e9 100644
--- a/source/Blocks/BlockPumpkin.h
+++ b/source/Blocks/BlockPumpkin.h
@@ -1,4 +1,3 @@
-
#pragma once
#include "BlockHandler.h"
@@ -23,8 +22,9 @@ public:
) override
{
a_BlockType = m_BlockType;
-
- a_BlockMeta = PlayerYawToMetaData(a_Player->GetRotation() - 180);
+ double a_Rotation = a_Player->GetRotation()
+ a_Rotation = -1 * a_Rotation;
+ a_BlockMeta = PlayerYawToMetaData(a_Rotation);
return true;
}