forked from Mirrorlandia_minetest/minetest
dig_immediate=3 instead of 1 means 0 seconds
This commit is contained in:
parent
1ae9e0afa1
commit
06d2bc7fbd
@ -75,12 +75,12 @@ DigParams getDigParams(const ItemGroupList &groups,
|
|||||||
//infostream<<"getDigParams"<<std::endl;
|
//infostream<<"getDigParams"<<std::endl;
|
||||||
/* Check group dig_immediate */
|
/* Check group dig_immediate */
|
||||||
switch(itemgroup_get(groups, "dig_immediate")){
|
switch(itemgroup_get(groups, "dig_immediate")){
|
||||||
case 1:
|
|
||||||
//infostream<<"dig_immediate=1"<<std::endl;
|
|
||||||
return DigParams(true, 0.0, 0);
|
|
||||||
case 2:
|
case 2:
|
||||||
//infostream<<"dig_immediate=2"<<std::endl;
|
//infostream<<"dig_immediate=2"<<std::endl;
|
||||||
return DigParams(true, 1.0, 0);
|
return DigParams(true, 1.0, 0);
|
||||||
|
case 3:
|
||||||
|
//infostream<<"dig_immediate=3"<<std::endl;
|
||||||
|
return DigParams(true, 0.0, 0);
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user