File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1800,6 +1800,9 @@ examples.
1800
1800
Position and size units are inventory slots, `X` and `Y` position the formspec
1801
1801
element relative to the top left of the menu or container. `W` and `H` are its
1802
1802
width and height values.
1803
+ Inventories with a `player:<name>` inventory location are only sent to the
1804
+ player named `<name>`.
1805
+
1803
1806
When displaying text which can contain formspec code, e.g. text set by a player,
1804
1807
use `minetest.formspec_escape`.
1805
1808
For coloured text you can use `minetest.colorize`.
@@ -1885,11 +1888,13 @@ Elements
1885
1888
1886
1889
### `list[<inventory location>;<list name>;<X>,<Y>;<W>,<H>;]`
1887
1890
1888
- * Show an inventory list
1891
+ * Show an inventory list if it has been sent to the client. Nothing will
1892
+ be shown if the inventory list is of size 0.
1889
1893
1890
1894
### `list[<inventory location>;<list name>;<X>,<Y>;<W>,<H>;<starting item index>]`
1891
1895
1892
- * Show an inventory list
1896
+ * Show an inventory list if it has been sent to the client. Nothing will
1897
+ be shown if the inventory list is of size 0.
1893
1898
1894
1899
### `listring[<inventory location>;<list name>]`
1895
1900
You can’t perform that action at this time.
0 commit comments