Comparators and pistons no longer update instantly

* Fixes #3168.
This commit is contained in:
Tiger Wang
2016-07-28 23:20:52 +01:00
parent a2a9341c24
commit 04cc8aa0f5
4 changed files with 63 additions and 15 deletions
+5
View File
@@ -60,6 +60,11 @@ public:
return true;
}
inline static bool IsOn(NIBBLETYPE a_Meta)
{
return ((a_Meta & 0x8) == 0x8);
}
inline static Vector3i GetSideCoordinate(const Vector3i & a_Position, NIBBLETYPE a_Meta, bool a_bInverse)
{
auto Position = a_Position;