summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-19 14:36:02 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-19 14:36:02 +0200
commit0baca1f1d8e5e8f97e7aa81e319e343949879622 (patch)
treefa9c3dff688c54a47d947cdb1847010f88c15452
parentMerge branch 'master' into 1.8-Protocol (diff)
downloadcuberite-0baca1f1d8e5e8f97e7aa81e319e343949879622.tar
cuberite-0baca1f1d8e5e8f97e7aa81e319e343949879622.tar.gz
cuberite-0baca1f1d8e5e8f97e7aa81e319e343949879622.tar.bz2
cuberite-0baca1f1d8e5e8f97e7aa81e319e343949879622.tar.lz
cuberite-0baca1f1d8e5e8f97e7aa81e319e343949879622.tar.xz
cuberite-0baca1f1d8e5e8f97e7aa81e319e343949879622.tar.zst
cuberite-0baca1f1d8e5e8f97e7aa81e319e343949879622.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/APIDump/Hooks/OnSpawningEntity.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/MCServer/Plugins/APIDump/Hooks/OnSpawningEntity.lua b/MCServer/Plugins/APIDump/Hooks/OnSpawningEntity.lua
index c4bff3916..e2bd1c940 100644
--- a/MCServer/Plugins/APIDump/Hooks/OnSpawningEntity.lua
+++ b/MCServer/Plugins/APIDump/Hooks/OnSpawningEntity.lua
@@ -6,8 +6,9 @@ return
DefaultFnName = "OnSpawningEntity", -- also used as pagename
Desc = [[
This hook is called before the server spawns an {{cEntity|entity}}. The plugin can either modify the
- entity before it is spawned, or disable the spawning altogether. If the entity spawning is a
- monster, the {{OnSpawningMonster|HOOK_SPAWNING_MONSTER}} hook is called before this hook.</p>
+ entity before it is spawned, or disable the spawning altogether. You can't disable the spawning if the
+ entity is a player. If the entity spawning is a monster, the {{OnSpawningMonster|HOOK_SPAWNING_MONSTER}}
+ hook is called before this hook.</p>
<p>
See also the {{OnSpawnedEntity|HOOK_SPAWNED_ENTITY}} hook for a similar hook called after the
entity is spawned.