summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorKingCol13 <48412633+KingCol13@users.noreply.github.com>2020-10-24 19:48:48 +0200
committerGitHub <noreply@github.com>2020-10-24 19:48:48 +0200
commitc11ca96c3de23c35788a9c9c109fbe38e3caeb3a (patch)
tree833b28439f2b82845d03e5abb73fcbf8e15d170f /src/World.cpp
parentcBlockInfo: further cleanup (#5001) (diff)
downloadcuberite-c11ca96c3de23c35788a9c9c109fbe38e3caeb3a.tar
cuberite-c11ca96c3de23c35788a9c9c109fbe38e3caeb3a.tar.gz
cuberite-c11ca96c3de23c35788a9c9c109fbe38e3caeb3a.tar.bz2
cuberite-c11ca96c3de23c35788a9c9c109fbe38e3caeb3a.tar.lz
cuberite-c11ca96c3de23c35788a9c9c109fbe38e3caeb3a.tar.xz
cuberite-c11ca96c3de23c35788a9c9c109fbe38e3caeb3a.tar.zst
cuberite-c11ca96c3de23c35788a9c9c109fbe38e3caeb3a.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 88e76c817..c3996c8ba 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1390,10 +1390,9 @@ bool cWorld::ForEachFurnaceInChunk(int a_ChunkX, int a_ChunkZ, cFurnaceCallback
void cWorld::DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_BlockY, double a_BlockZ, bool a_CanCauseFire, eExplosionSource a_Source, void * a_SourceData)
{
cLock Lock(*this);
-
if (!cPluginManager::Get()->CallHookExploding(*this, a_ExplosionSize, a_CanCauseFire, a_BlockX, a_BlockY, a_BlockZ, a_Source, a_SourceData) && (a_ExplosionSize > 0))
{
- // TODO: CanCauseFire gets reset to false for some reason
+ // TODO: CanCauseFire gets reset to false for some reason, (plugin has ability to change it, might be related)
const cEntity * Entity;
switch (a_Source)