diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp index a29b35746..a00e61e1d 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -3322,7 +3322,8 @@ bool Game::nodePlacementPrediction(const ItemDefinition &playeritem_def, if (!is_valid_position) return false; - if (!prediction.empty() && !nodedef->get(node).rightclickable) { + if (!prediction.empty() && !(nodedef->get(node).rightclickable && + !isKeyDown(KeyType::SNEAK))) { verbosestream << "Node placement prediction for " << playeritem_def.name << " is " << prediction << std::endl; |