Fixed stupid error

master
Tycho 2014-05-10 17:56:59 +01:00
parent 43fc1471a1
commit 7ca33bd832
1 changed files with 1 additions and 1 deletions

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);