mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
Merge remote-tracking branch 'queatz/privs'
This commit is contained in:
commit
625dac8d8c
@ -3198,6 +3198,9 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id)
|
|||||||
mlist->addItem(item1);
|
mlist->addItem(item1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Disallow moving items if not allowed to build
|
||||||
|
else if((getPlayerPrivs(player) & PRIV_BUILD) == 0)
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(disable_action == false)
|
if(disable_action == false)
|
||||||
|
Loading…
Reference in New Issue
Block a user