1
0
mirror of https://github.com/Sokomine/replacer.git synced 2025-07-20 08:50:25 +02:00

aux1 key works now as well instead of only sneak key for storing a new pattern

This commit is contained in:
Sokomine
2021-09-29 20:19:28 +02:00
parent 7bfcb73607
commit c030a3beb8
3 changed files with 3 additions and 4 deletions

View File

@ -58,7 +58,7 @@ replacer.inspect = function( itemstack, user, pointed_thing, mode, show_receipe
end
local name = user:get_player_name();
local keys = user:get_player_control();
if( keys["sneak"] ) then
if( keys["sneak"] or keys["aux1"]) then
show_receipe = true;
end