diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-08-13 10:35:27 +0200 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-08-13 10:35:27 +0200 |
commit | 8438cc0611d42aa896c055aa0abfb08528fb789d (patch) | |
tree | 462e41b1a76eb51f442cac3785adeb38afaef115 /MCServer/Plugins/APIDump/Hooks/OnPlayerTossingItem.lua | |
parent | Merge pull request #2417 from mjhanninen/fix-clang-warnings (diff) | |
parent | Fixed a few missing MCServers in APIDump (diff) | |
download | cuberite-8438cc0611d42aa896c055aa0abfb08528fb789d.tar cuberite-8438cc0611d42aa896c055aa0abfb08528fb789d.tar.gz cuberite-8438cc0611d42aa896c055aa0abfb08528fb789d.tar.bz2 cuberite-8438cc0611d42aa896c055aa0abfb08528fb789d.tar.lz cuberite-8438cc0611d42aa896c055aa0abfb08528fb789d.tar.xz cuberite-8438cc0611d42aa896c055aa0abfb08528fb789d.tar.zst cuberite-8438cc0611d42aa896c055aa0abfb08528fb789d.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/APIDump/Hooks/OnPlayerTossingItem.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/Hooks/OnPlayerTossingItem.lua b/MCServer/Plugins/APIDump/Hooks/OnPlayerTossingItem.lua index d3daf850b..880404bf8 100644 --- a/MCServer/Plugins/APIDump/Hooks/OnPlayerTossingItem.lua +++ b/MCServer/Plugins/APIDump/Hooks/OnPlayerTossingItem.lua @@ -17,7 +17,7 @@ return { Name = "Player", Type = "{{cPlayer}}", Notes = "The player tossing an item" }, }, Returns = [[ - If the function returns false or no value, other plugins' callbacks are called and finally MCServer + If the function returns false or no value, other plugins' callbacks are called and finally Cuberite creates the pickup for the item and tosses it, using {{cPlayer}}:TossHeldItem, {{cPlayer}}:TossEquippedItem, or {{cPlayer}}:TossPickup. If the function returns true, no other callbacks are called for this event and Cuberite doesn't toss the item. |