summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/Hooks/OnPlayerPlacingBlock.lua
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-08-11 22:48:55 +0200
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-08-11 22:48:55 +0200
commit0958e167e89d2b3289c01905ebb8897e6bc86c43 (patch)
tree482062f5cdc11520ff0d0496e419524be01f1299 /MCServer/Plugins/APIDump/Hooks/OnPlayerPlacingBlock.lua
parentMerge pull request #2423 from cuberite/JsonCppCheck (diff)
downloadcuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar
cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.gz
cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.bz2
cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.lz
cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.xz
cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.zst
cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/Hooks/OnPlayerPlacingBlock.lua')
-rw-r--r--MCServer/Plugins/APIDump/Hooks/OnPlayerPlacingBlock.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/MCServer/Plugins/APIDump/Hooks/OnPlayerPlacingBlock.lua b/MCServer/Plugins/APIDump/Hooks/OnPlayerPlacingBlock.lua
index 4241a09aa..b78acc327 100644
--- a/MCServer/Plugins/APIDump/Hooks/OnPlayerPlacingBlock.lua
+++ b/MCServer/Plugins/APIDump/Hooks/OnPlayerPlacingBlock.lua
@@ -10,7 +10,7 @@ return
at all.</p>
<p>
Note that the client already expects that the block has been placed. For that reason, if a plugin
- refuses the placement, MCServer sends the old block at the provided coords to the client.</p>
+ refuses the placement, Cuberite sends the old block at the provided coords to the client.</p>
<p>
Use the {{cPlayer}}:GetWorld() function to get the world to which the block belongs.</p>
<p>
@@ -31,9 +31,9 @@ return
{ Name = "BlockMeta", Type = "NIBBLETYPE", Notes = "The block meta of the block" },
},
Returns = [[
- If this function returns false or no value, MCServer calls other plugins with the same event and
+ If this function returns false or no value, Cuberite calls other plugins with the same event and
finally places the block and removes the corresponding item from player's inventory. If this
- function returns true, no other plugin is called for this event, MCServer sends the old block at
+ function returns true, no other plugin is called for this event, Cuberite sends the old block at
the specified coords to the client and drops the packet.
]],
}, -- HOOK_PLAYER_PLACING_BLOCK