diff options
author | bibo38 <bibo38@github.com> | 2015-10-31 16:24:45 +0100 |
---|---|---|
committer | bibo38 <bibo38@github.com> | 2015-10-31 23:06:10 +0100 |
commit | 73b8be0fef6603b5dd3a101c26a4947669068d5e (patch) | |
tree | 671987e9a48544fd0fc37135732feebdca697caa /Server/Plugins/APIDump/APIDesc.lua | |
parent | Merge pull request #2549 from cuberite/TouchGround (diff) | |
download | cuberite-73b8be0fef6603b5dd3a101c26a4947669068d5e.tar cuberite-73b8be0fef6603b5dd3a101c26a4947669068d5e.tar.gz cuberite-73b8be0fef6603b5dd3a101c26a4947669068d5e.tar.bz2 cuberite-73b8be0fef6603b5dd3a101c26a4947669068d5e.tar.lz cuberite-73b8be0fef6603b5dd3a101c26a4947669068d5e.tar.xz cuberite-73b8be0fef6603b5dd3a101c26a4947669068d5e.tar.zst cuberite-73b8be0fef6603b5dd3a101c26a4947669068d5e.zip |
Diffstat (limited to '')
-rw-r--r-- | Server/Plugins/APIDump/APIDesc.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index 2fcd02a17..6bca605c8 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -1822,8 +1822,9 @@ a_Player:OpenWindow(Window); TakeDamage = { Return = "" }, KilledBy = { Return = "" }, GetHealth = { Return = "number" }, - AddEntityEffect = { Params = "EffectType, {{cEntityEffect}}", Return = "", Notes = "Applies an entity effect" }, - RemoveEntityEffect = { Params = "EffectType", Return = "", Notes = "Removes a currently applied entity effect" }, + AddEntityEffect = { Params = "{{cEntityEffect|EffectType}}, {{cEntityEffect}}", Return = "", Notes = "Applies an entity effect" }, + RemoveEntityEffect = { Params = "{{cEntityEffect|EffectType}}", Return = "", Notes = "Removes a currently applied entity effect" }, + HasEntityEffect = { Return = "bool", Params = "{{cEntityEffect|EffectType}}", Notes = "Returns true, if the supplied entity effect type is currently applied" } ClearEntityEffects = { Return = "", Notes = "Removes all currently applied entity effects" }, }, Inherits = "cEntity", |