fix farm ploughing

This commit is contained in:
darkrose 2013-11-27 15:59:19 +10:00
parent 4269fae35e
commit 72a359ae99
1 changed files with 5 additions and 3 deletions

View File

@ -2849,9 +2849,11 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id)
if (
material == CONTENT_MUD
&& wield
&& wield->getContent() == CONTENT_TOOLITEM_STEELSHOVEL
&& wield->getContent() == CONTENT_TOOLITEM_STSHOVEL
&& wield->getContent() == CONTENT_TOOLITEM_WSHOVEL
&& (
wield->getContent() == CONTENT_TOOLITEM_STEELSHOVEL
|| wield->getContent() == CONTENT_TOOLITEM_STSHOVEL
|| wield->getContent() == CONTENT_TOOLITEM_WSHOVEL
)
)
{
v3s16 temp_p = p_under;