summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authorDebucquoy Anthony tonitch <debucquoy.anthony@gmail.com>2022-05-07 01:33:23 +0200
committerGitHub <noreply@github.com>2022-05-07 01:33:23 +0200
commita8ef9d14376fccb4b4b595d52fc9f9c7b5538043 (patch)
tree1f6936f0375cd77efb08bbaeb760a1af4393c972 /src/Blocks
parentAdded check for unexported but documented API (#5418) (diff)
downloadcuberite-a8ef9d14376fccb4b4b595d52fc9f9c7b5538043.tar
cuberite-a8ef9d14376fccb4b4b595d52fc9f9c7b5538043.tar.gz
cuberite-a8ef9d14376fccb4b4b595d52fc9f9c7b5538043.tar.bz2
cuberite-a8ef9d14376fccb4b4b595d52fc9f9c7b5538043.tar.lz
cuberite-a8ef9d14376fccb4b4b595d52fc9f9c7b5538043.tar.xz
cuberite-a8ef9d14376fccb4b4b595d52fc9f9c7b5538043.tar.zst
cuberite-a8ef9d14376fccb4b4b595d52fc9f9c7b5538043.zip
Diffstat (limited to 'src/Blocks')
-rw-r--r--src/Blocks/BlockInfested.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockInfested.h b/src/Blocks/BlockInfested.h
index 4fcb5c19e..03977daad 100644
--- a/src/Blocks/BlockInfested.h
+++ b/src/Blocks/BlockInfested.h
@@ -73,7 +73,7 @@ private:
return;
}
}
- if (a_Digger->IsMob())
+ if (a_Digger->IsMob() || a_Digger->IsTNT())
{
return;
}