ak399g wrote:Don't know if this is a "feature" of 4.9 dev or not, but it's a bug in my book. Very much not happy with it, wondering how to disable it if possible. I used to be able to place nodes in the same space I occupy, which I admit makes little real-world-physics sense but is incredibly useful and needed, especially when placing microblocks. Upgraded from 4.9 to 4.9 dev and now I can't place nodes within close proximity.
rubenwardy wrote:I hate this. It means you can't make a tower by jumping and placing blocks below you.
BlockMen wrote:rubenwardy wrote:I hate this. It means you can't make a tower by jumping and placing blocks below you.
Thats wrong. You can still do that.
ak399g wrote:But if you did, you could just jump out of it immediately.
Kilarin wrote:...The idea that this should be able to be switched on and off makes a lot of sense. Different playing styles for different people.
diff --git a/src/game.cpp b/src/game.cpp
index 6076ac4..f39126b 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -903,18 +903,9 @@ bool nodePlacementPrediction(Client &client,
try{
LocalPlayer* player = client.getEnv().getLocalPlayer();
- // Dont place node when player would be inside new node
- // NOTE: This is to be eventually implemented by a mod as client-side Lua
- if (!nodedef->get(n).walkable ||
- (client.checkPrivilege("noclip") && g_settings->getBool("noclip")) ||
- (nodedef->get(n).walkable &&
- neighbourpos != player->getStandingNodePos() + v3s16(0,1,0) &&
- neighbourpos != player->getStandingNodePos() + v3s16(0,2,0))) {
-
// This triggers the required mesh update too
client.addNode(p, n);
return true;
- }
}catch(InvalidPositionException &e){
errorstream<<"Node placement prediction failed for "
<<playeritem_def.name<<" (places "
enable_build_where_you_stand = true
Users browsing this forum: No registered users and 4 guests