register_wool_backpack should not be global

master
bell07 2018-05-22 22:26:21 +02:00 committed by Tai Kedzierski
parent 07eb35dfa9
commit 25ba17f5f1
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ backpacks.allow_metadata_inventory_put = function(pos, listname, index, stack, p
end
-- Wool backpacks
function register_wool_backpack(colour,colourname)
local function register_wool_backpack(colour,colourname)
minetest.register_node("backpacks:backpack_wool_"..colour, {
description = colourname.." Wool Backpack",
tiles = {