mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-01 07:13:45 +01:00
[mcl_books] fix warnings
This commit is contained in:
parent
b7bf566190
commit
892f4b96c9
@ -238,7 +238,6 @@ minetest.register_craft_predict(function(itemstack, player, old_craft_grid, craf
|
|||||||
end
|
end
|
||||||
|
|
||||||
local original
|
local original
|
||||||
local index
|
|
||||||
for i = 1, player:get_inventory():get_size("craft") do
|
for i = 1, player:get_inventory():get_size("craft") do
|
||||||
if old_craft_grid[i]:get_name() == "mcl_books:written_book" then
|
if old_craft_grid[i]:get_name() == "mcl_books:written_book" then
|
||||||
original = old_craft_grid[i]
|
original = old_craft_grid[i]
|
||||||
|
Loading…
Reference in New Issue
Block a user