summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockBed.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-24 14:53:57 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-24 14:53:57 +0200
commit6219d4af217e367336f6a4f7d0a85921c823c161 (patch)
tree1e45576ca1b349456a23b764c80f43d11a778436 /src/Blocks/BlockBed.cpp
parentwhitespace cleanup (diff)
parentUse ref instead of pointer (diff)
downloadcuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar
cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.gz
cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.bz2
cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.lz
cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.xz
cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.zst
cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.zip
Diffstat (limited to '')
-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 762086ce4..82f89a497 100644
--- a/src/Blocks/BlockBed.cpp
+++ b/src/Blocks/BlockBed.cpp
@@ -120,7 +120,7 @@ bool cBlockBedHandler::OnUse(cChunkInterface & a_ChunkInterface, cWorldInterface
Vector3i Coords(a_BlockX, a_BlockY, a_BlockZ);
a_WorldInterface.DoExplosionAt(5, a_BlockX, a_BlockY, a_BlockZ, true, esBed, &Coords);
}
- else if (!((a_WorldInterface.GetTimeOfDay() > 12541) && (a_WorldInterface.GetTimeOfDay() < 23458))) // Source: http://minecraft.gamepedia.com/Bed#Sleeping
+ else if (!((a_WorldInterface.GetTimeOfDay() > 12541) && (a_WorldInterface.GetTimeOfDay() < 23458))) // Source: https://minecraft.gamepedia.com/Bed#Sleeping
{
a_Player.SendMessageFailure("You can only sleep at night");
}