From bffaa74d372c2582a243eba7d4e9006f2b42c0ec Mon Sep 17 00:00:00 2001 From: Vinicius Martins Date: Sat, 8 Aug 2020 22:56:50 +0000 Subject: [PATCH] Update inventories.md inv.get_size is a method so should be called with ":" --- _en/items/inventories.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_en/items/inventories.md b/_en/items/inventories.md index 44e7727..6d69ed0 100644 --- a/_en/items/inventories.md +++ b/_en/items/inventories.md @@ -191,7 +191,7 @@ because the code behind the window determines the width to use. ```lua if inv:set_size("main", 32) then inv:set_width("main", 8) - print("size: " .. inv.get_size("main")) + print("size: " .. inv:get_size("main")) print("width: " .. inv:get_width("main")) else print("Error! Invalid itemname or size to set_size()")