diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-08-13 10:19:24 +0200 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-08-13 10:19:24 +0200 |
commit | 24e8edb19cc376223d4300c2ee3a92bea9d86c04 (patch) | |
tree | 462e41b1a76eb51f442cac3785adeb38afaef115 /MCServer/Plugins/APIDump/Hooks/OnPlayerTossingItem.lua | |
parent | Merge pull request #2417 from mjhanninen/fix-clang-warnings (diff) | |
download | cuberite-24e8edb19cc376223d4300c2ee3a92bea9d86c04.tar cuberite-24e8edb19cc376223d4300c2ee3a92bea9d86c04.tar.gz cuberite-24e8edb19cc376223d4300c2ee3a92bea9d86c04.tar.bz2 cuberite-24e8edb19cc376223d4300c2ee3a92bea9d86c04.tar.lz cuberite-24e8edb19cc376223d4300c2ee3a92bea9d86c04.tar.xz cuberite-24e8edb19cc376223d4300c2ee3a92bea9d86c04.tar.zst cuberite-24e8edb19cc376223d4300c2ee3a92bea9d86c04.zip |
Diffstat (limited to 'MCServer/Plugins/APIDump/Hooks/OnPlayerTossingItem.lua')
-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. |