Minor Docs update (#1214)
This commit is contained in:
1 parent
caafaa2039
commit
eed64f224e
2 files changed
+11
-5
No files matched your search
@@ -110,7 +110,7 @@ Or an example to find if a player has specific enchantment on a held axe (either
|
||||
|
||||
<pre>
|
||||
global_get_enchantment(p, ench) -> (
|
||||
$ for(['main','offhand'],
|
||||
$ for(['mainhand','offhand'],
|
||||
$ holds = query(p, 'holds', _);
|
||||
$ if( holds,
|
||||
$ [what, count, nbt] = holds;
|
||||
|
||||
Reference in new issue
Block a user