Annoying Error
Whenever i use a chest or maybe when im doing anything i get a warning that says: Warning invise is decapritated use size. Why is this happening
FOSS gamedev and creative worlds
https://forums.minetest.org/
meta:set_string("formspec",
"invsize[8,9;]"..
"list[current_name;main;0,0;8,4;]"..
"list[current_player;main;0,5;8,4;]")VanessaE wrote:The same error occurs with furnaces also (or did when I last checked, a few days ago)
PilzAdam wrote:In the default init.lua the chests inventory is defined like this:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
meta:set_string("formspec",
"invsize[8,9;]"..
"list[current_name;main;0,0;8,4;]"..
"list[current_player;main;0,5;8,4;]")
The warning is about the "invsize". Just replace it with "size" and everything will work without a warning. (Maybe you should search and replace every "invsize" with "size" in the default init.lua)
Josh wrote:So were the ''invsize[8,9,]''.. is i just replace the invise with the word size & it should work without no errors right?