summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-04-09 22:26:06 +0200
committerGitHub <noreply@github.com>2020-04-09 22:26:06 +0200
commitd966a126248ef653d3cac96ab4ba018dcfb0a938 (patch)
tree1d2b1710425c3dd51b5d2578cca08aae2ab1f261 /src/Entities
parentFalling blocks can now be spawned at any position. (#4620) (diff)
downloadcuberite-d966a126248ef653d3cac96ab4ba018dcfb0a938.tar
cuberite-d966a126248ef653d3cac96ab4ba018dcfb0a938.tar.gz
cuberite-d966a126248ef653d3cac96ab4ba018dcfb0a938.tar.bz2
cuberite-d966a126248ef653d3cac96ab4ba018dcfb0a938.tar.lz
cuberite-d966a126248ef653d3cac96ab4ba018dcfb0a938.tar.xz
cuberite-d966a126248ef653d3cac96ab4ba018dcfb0a938.tar.zst
cuberite-d966a126248ef653d3cac96ab4ba018dcfb0a938.zip
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/Entity.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp
index a4d33db19..453bd03d2 100644
--- a/src/Entities/Entity.cpp
+++ b/src/Entities/Entity.cpp
@@ -154,9 +154,6 @@ bool cEntity::Initialize(OwnedEntity a_Self, cWorld & a_EntityWorld)
ASSERT(m_World == nullptr);
ASSERT(GetParentChunk() == nullptr);
a_EntityWorld.AddEntity(std::move(a_Self));
- ASSERT(m_World != nullptr);
-
- cPluginManager::Get()->CallHookSpawnedEntity(a_EntityWorld, *this);
return true;
}