1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 16:08:51 -05:00

Merge remote-tracking branch 'queatz/privs'

This commit is contained in:
Perttu Ahola 2011-08-30 14:23:44 +03:00
commit 625dac8d8c

View File

@ -3198,6 +3198,9 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id)
mlist->addItem(item1);
}
}
// Disallow moving items if not allowed to build
else if((getPlayerPrivs(player) & PRIV_BUILD) == 0)
return;
}
if(disable_action == false)