diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server.cpp b/src/server.cpp index a8eb68c55..88cd7f342 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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) |