Replace deprecated invsize[]
This commit is contained in:
parent
841eac8d58
commit
0c35a77c39
2 changed files with 3 additions and 3 deletions
|
@ -166,7 +166,7 @@ playerdata = load_player_data()
|
|||
if creative_type == "search" and playerdata[player:get_player_name()]['gamemode'] == "Creative" then
|
||||
local pagenum = math.floor(pagenum)
|
||||
local pagemax = math.floor((inventory.inventory_size-1) / (9*3) + 1)
|
||||
CREATIVE_SEARCH_ITEMS = "invsize[10,7;]"..
|
||||
CREATIVE_SEARCH_ITEMS = "size[10,7]"..
|
||||
"background[-0.22,-0.25;10.8,7.7;creative_inventory_bg.png]"..
|
||||
"button[8,0;1.5,1;creative_search;Search]"..
|
||||
"list[current_player;main;0.21,6.05;9,1;]"..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue