Fixed some small bugs :)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@672 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -948,7 +948,7 @@ void cClientHandle::HandleBlockPlace(cPacket_BlockPlace * a_Packet)
|
||||
if(Dir != 1 && !NewBlock->CanBePlacedOnSide())
|
||||
return;
|
||||
|
||||
if(NewBlock->CanBeAt(World, X, Y, Z))
|
||||
if(NewBlock->CanBePlacedAt(World, X, Y, Z, Dir))
|
||||
{
|
||||
ItemHandler->PlaceBlock(World, m_Player, &m_Player->GetInventory().GetEquippedItem(), X, Y, Z, a_Packet->m_Direction);
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user