private void EventManager_OnNewClient(IClientAPI client)
{
client.OnModifyTerrain += delegate(UUID user, float height, float seconds, byte size, byte action, float north, float west, float south, float east, UUID agentId) {
client_OnModifyTerrain(user,(int)west,(int)south,(int)height,action,(double)seconds,agentId);
};
client.OnBakeTerrain += client_OnBakeTerrain;
client.OnLandUndo += client_OnLandUndo;
}