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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user