summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump
diff options
context:
space:
mode:
authorchangyong guo <guo1487@163.com>2018-06-24 11:24:10 +0200
committerpeterbell10 <peterbell10@live.co.uk>2018-06-24 11:24:10 +0200
commit2d3013d1d35a2bcba63cffd9012898defff26f93 (patch)
treee344931e67b4094671e01a3bf7dca2d600e32d3e /Server/Plugins/APIDump
parentFlush stdout after resetting console colour. (#4240) (diff)
downloadcuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.tar
cuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.tar.gz
cuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.tar.bz2
cuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.tar.lz
cuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.tar.xz
cuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.tar.zst
cuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.zip
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index eed6bd40f..ee1ed0d04 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -3317,6 +3317,16 @@ local Hash = cCryptoHash.sha1HexString("DataToHash")
},
Notes = "Returns the weapon that the entity has equipped. Returns an empty cItem if no weapon equipped or not applicable.",
},
+ GetOffHandEquipedItem =
+ {
+ Returns =
+ {
+ {
+ Type = "cItem",
+ },
+ },
+ Notes = "Returns the item that the entity has equipped on off-hand. Returns an empty cItem if no item equipped or not applicable.",
+ },
GetGravity =
{
Returns =