summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockOre.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-12 14:09:07 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-12 14:09:07 +0200
commitfb68382d9b2d4053600a88b9a86f75a0b0b688fe (patch)
treeac954c3cf8df1acc34c94095ed093fb15256a8b9 /src/Blocks/BlockOre.h
parentMerge branch 'master' into 1.8-Protocol (diff)
parentFixed iron ore drop. (diff)
downloadcuberite-fb68382d9b2d4053600a88b9a86f75a0b0b688fe.tar
cuberite-fb68382d9b2d4053600a88b9a86f75a0b0b688fe.tar.gz
cuberite-fb68382d9b2d4053600a88b9a86f75a0b0b688fe.tar.bz2
cuberite-fb68382d9b2d4053600a88b9a86f75a0b0b688fe.tar.lz
cuberite-fb68382d9b2d4053600a88b9a86f75a0b0b688fe.tar.xz
cuberite-fb68382d9b2d4053600a88b9a86f75a0b0b688fe.tar.zst
cuberite-fb68382d9b2d4053600a88b9a86f75a0b0b688fe.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockOre.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Blocks/BlockOre.h b/src/Blocks/BlockOre.h
index 0067d475f..f6ea3aa3c 100644
--- a/src/Blocks/BlockOre.h
+++ b/src/Blocks/BlockOre.h
@@ -51,7 +51,8 @@ public:
}
default:
{
- ASSERT(!"Unhandled ore!");
+ a_Pickups.push_back(cItem(m_BlockType));
+ break;
}
}
}