diff --git a/VC2013/MCServer.vcxproj b/VC2013/MCServer.vcxproj index 334aa875c..50a938ad2 100644 --- a/VC2013/MCServer.vcxproj +++ b/VC2013/MCServer.vcxproj @@ -224,6 +224,7 @@ + @@ -628,6 +629,7 @@ + diff --git a/VC2013/MCServer.vcxproj.filters b/VC2013/MCServer.vcxproj.filters index 724e1866d..74ddfafa8 100644 --- a/VC2013/MCServer.vcxproj.filters +++ b/VC2013/MCServer.vcxproj.filters @@ -945,6 +945,9 @@ Source Files\HTTPServer + + Source Files\Entities + @@ -1657,6 +1660,9 @@ Source Files\HTTPServer + + Source Files\Entities + diff --git a/src/Blocks/BlockDirt.h b/src/Blocks/BlockDirt.h index a83dab1fd..46210e406 100644 --- a/src/Blocks/BlockDirt.h +++ b/src/Blocks/BlockDirt.h @@ -80,7 +80,7 @@ public: Chunk->GetBlockTypeMeta(BlockX, BlockY + 1, BlockZ, AboveDest, AboveMeta); if ((g_BlockOneHitDig[AboveDest] || g_BlockTransparent[AboveDest]) && !IsBlockWater(AboveDest)) { - Chunk->FastSetBlock(a_RelX + OfsX, a_RelY + OfsY, a_RelZ + OfsZ, E_BLOCK_GRASS, 0); + Chunk->FastSetBlock(BlockX, BlockY, BlockZ, E_BLOCK_GRASS, 0); } } // for i - repeat twice }