summaryrefslogtreecommitdiffstats
path: root/src/Items
diff options
context:
space:
mode:
author12xx12 <44411062+12xx12@users.noreply.github.com>2020-09-17 20:06:41 +0200
committerGitHub <noreply@github.com>2020-09-17 20:06:41 +0200
commitba5312c198a7bb31b26fba57a966f16f07de1c90 (patch)
tree6d85b1ffa1059d83018c2d2b65c5e57b952b2b36 /src/Items
parentBlockHandler: no dynamic allocation (#4862) (diff)
downloadcuberite-ba5312c198a7bb31b26fba57a966f16f07de1c90.tar
cuberite-ba5312c198a7bb31b26fba57a966f16f07de1c90.tar.gz
cuberite-ba5312c198a7bb31b26fba57a966f16f07de1c90.tar.bz2
cuberite-ba5312c198a7bb31b26fba57a966f16f07de1c90.tar.lz
cuberite-ba5312c198a7bb31b26fba57a966f16f07de1c90.tar.xz
cuberite-ba5312c198a7bb31b26fba57a966f16f07de1c90.tar.zst
cuberite-ba5312c198a7bb31b26fba57a966f16f07de1c90.zip
Diffstat (limited to 'src/Items')
-rw-r--r--src/Items/ItemPumpkin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemPumpkin.h b/src/Items/ItemPumpkin.h
index 33810b51f..897cba279 100644
--- a/src/Items/ItemPumpkin.h
+++ b/src/Items/ItemPumpkin.h
@@ -82,7 +82,7 @@ public:
bool TrySpawnSnowGolem(cWorld & a_World, cPlayer & a_Player, const Vector3i a_PumpkinPos)
{
ASSERT(a_PumpkinPos.y > 1);
- ASSERT(a_World.GetBlock(a_PumpkinPos.addedY(-1)) == E_BLOCK_SNOW);
+ ASSERT(a_World.GetBlock(a_PumpkinPos.addedY(-1)) == E_BLOCK_SNOW_BLOCK);
// Need one more snow block 2 blocks below the pumpkin:
if (a_World.GetBlock(a_PumpkinPos.addedY(-2)) != E_BLOCK_SNOW_BLOCK)