summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockBed.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-12 20:43:05 +0200
committerMattes D <github@xoft.cz>2014-09-12 20:43:05 +0200
commitdb13405da236b5ba42d36135bf905a30341a425c (patch)
tree42e2cad05899d63f2471578b20313583ca570a70 /src/Blocks/BlockBed.cpp
parentFixed iron ore drop. (diff)
parentOnly drop flint or gravel, not both. (diff)
downloadcuberite-db13405da236b5ba42d36135bf905a30341a425c.tar
cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.gz
cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.bz2
cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.lz
cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.xz
cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.zst
cuberite-db13405da236b5ba42d36135bf905a30341a425c.zip
Diffstat (limited to 'src/Blocks/BlockBed.cpp')
-rw-r--r--src/Blocks/BlockBed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockBed.cpp b/src/Blocks/BlockBed.cpp
index cd5783f58..cd1cc2a5f 100644
--- a/src/Blocks/BlockBed.cpp
+++ b/src/Blocks/BlockBed.cpp
@@ -15,7 +15,7 @@ void cBlockBedHandler::OnPlacedByPlayer(
if (a_BlockMeta < 8)
{
Vector3i Direction = MetaDataToDirection(a_BlockMeta);
- a_ChunkInterface.SetBlock(a_WorldInterface, a_BlockX + Direction.x, a_BlockY, a_BlockZ + Direction.z, E_BLOCK_BED, a_BlockMeta | 0x8);
+ a_ChunkInterface.SetBlock(a_BlockX + Direction.x, a_BlockY, a_BlockZ + Direction.z, E_BLOCK_BED, a_BlockMeta | 0x8);
}
}