From ba70a151915bb14ddbe0527d8807508000819df6 Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Mon, 16 Jul 2012 13:30:33 +0000 Subject: Fixed some small bugs :) git-svn-id: http://mc-server.googlecode.com/svn/trunk@672 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cClientHandle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cClientHandle.cpp') diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp index 53852438d..76aaf2724 100644 --- a/source/cClientHandle.cpp +++ b/source/cClientHandle.cpp @@ -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{ -- cgit v1.2.3