1
0

Fixed stupid error

This commit is contained in:
Tycho 2014-05-10 17:56:59 +01:00
parent 43fc1471a1
commit 7ca33bd832

View File

@ -328,7 +328,7 @@ public:
}
inline void SetMeta(int a_RelX, int a_RelY, int a_RelZ, NIBBLETYPE a_Meta)
{
if (!GetMeta(a_RelX, a_RelY, a_RelZ) == a_Meta)
if (!(GetMeta(a_RelX, a_RelY, a_RelZ) == a_Meta))
{
MarkDirty();
m_ChunkBuffer.SetMeta(a_RelX, a_RelY, a_RelZ, a_Meta);