summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump
diff options
context:
space:
mode:
authorbibo38 <bibo38@github.com>2015-10-31 16:24:45 +0100
committerbibo38 <bibo38@github.com>2015-10-31 23:06:10 +0100
commit73b8be0fef6603b5dd3a101c26a4947669068d5e (patch)
tree671987e9a48544fd0fc37135732feebdca697caa /Server/Plugins/APIDump
parentMerge pull request #2549 from cuberite/TouchGround (diff)
downloadcuberite-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 'Server/Plugins/APIDump')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua5
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",