diff options
author | Alexander Harkness <me@bearbin.net> | 2014-09-22 21:45:22 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2014-09-22 21:45:22 +0200 |
commit | 5f823fd18dbfc097b45957d05aeb4d04bf5099fd (patch) | |
tree | 8fa683aca43dfabd59c7c90e06c2d1f1a4549bed /MCServer | |
parent | Merge pull request #1446 from cedeel/patch-1 (diff) | |
parent | Changed metadata reading again. (diff) | |
download | cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.tar cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.tar.gz cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.tar.bz2 cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.tar.lz cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.tar.xz cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.tar.zst cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.zip |
Diffstat (limited to 'MCServer')
-rw-r--r-- | MCServer/Plugins/APIDump/Hooks/OnSpawningEntity.lua | 5 |
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. |