diff options
author | mathiascode <8754153+mathiascode@users.noreply.github.com> | 2017-08-24 11:19:40 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-08-24 11:19:40 +0200 |
commit | 02775e52c43dbc82e08b6af8b87d8f320c05cb73 (patch) | |
tree | 66b9fd743c4e4d04a2ec8d5ffc107585bd2f963a /src/Blocks/BlockBed.cpp | |
parent | Added check to deactivate existing entity effects when new entity effects are added. (diff) | |
download | cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.tar cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.tar.gz cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.tar.bz2 cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.tar.lz cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.tar.xz cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.tar.zst cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.zip |
Diffstat (limited to 'src/Blocks/BlockBed.cpp')
-rw-r--r-- | src/Blocks/BlockBed.cpp | 2 |
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"); } |