summaryrefslogtreecommitdiffstats
path: root/Server/Plugins
diff options
context:
space:
mode:
authorKiryu144 <123davidLP@gmail.com>2021-07-23 11:14:01 +0200
committerGitHub <noreply@github.com>2021-07-23 11:14:01 +0200
commit36a97d441bbb164c59d095aef1ef73f41fa38247 (patch)
tree76145c1abfc0093ab60da41077084383be8f09f4 /Server/Plugins
parentSetting command-block's command requires a permission. (#5270) (diff)
downloadcuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.tar
cuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.tar.gz
cuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.tar.bz2
cuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.tar.lz
cuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.tar.xz
cuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.tar.zst
cuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.zip
Diffstat (limited to 'Server/Plugins')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua14
1 files changed, 3 insertions, 11 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 6055ff8f1..2f1d66648 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -10879,16 +10879,8 @@ a_Player:OpenWindow(Window);
Params =
{
{
- Name = "BlockX",
- Type = "number",
- },
- {
- Name = "BlockY",
- Type = "number",
- },
- {
- Name = "BlockZ",
- Type = "number",
+ Name = "BlockPos",
+ Type = "Vector3i",
},
{
Name = "BlockType",
@@ -10905,7 +10897,7 @@ a_Player:OpenWindow(Window);
Type = "boolean",
},
},
- Notes = "Places a block while impersonating the player. The {{OnPlayerPlacingBlock|HOOK_PLAYER_PLACING_BLOCK}} hook is called before the placement, and if it succeeds, the block is placed and the {{OnPlayerPlacedBlock|HOOK_PLAYER_PLACED_BLOCK}} hook is called. Returns true iff the block is successfully placed. Assumes that the block is in a currently loaded chunk.",
+ Notes = "Places a block while impersonating the player. The {{OnPlayerPlacingBlock|HOOK_PLAYER_PLACING_BLOCK}} hook is called before the placement, and if it succeeds, the block is placed and the {{OnPlayerPlacedBlock|HOOK_PLAYER_PLACED_BLOCK}} hook is called. Returns true iff the block is successfully placed.",
},
ReplaceOneEquippedItemTossRest =
{