Improve formspecs for better mobile usability and consistency

This commit is contained in:
hlqkj
2021-04-02 19:47:48 +00:00
committed by Vanessa Dannenberg
parent a6e4f2dceb
commit 4add40705f
8 changed files with 96 additions and 49 deletions

View File

@ -31,7 +31,6 @@ end
function pipeworks.check_and_wear_hammer(player)
local itemstack = player:get_wielded_item()
local wieldname = itemstack:get_name()
local playername = player:get_player_name()
if allowed_hammers[wieldname] then
itemstack:add_wear(1000)
player:set_wielded_item(itemstack)