summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authormathiascode <8754153+mathiascode@users.noreply.github.com>2017-08-24 11:19:40 +0200
committerLukas Pioch <lukas@zgow.de>2017-08-24 11:19:40 +0200
commit02775e52c43dbc82e08b6af8b87d8f320c05cb73 (patch)
tree66b9fd743c4e4d04a2ec8d5ffc107585bd2f963a /src/Blocks
parentAdded check to deactivate existing entity effects when new entity effects are added. (diff)
downloadcuberite-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 '')
-rw-r--r--src/Blocks/BlockBed.cpp2
-rw-r--r--src/Blocks/BlockFarmland.h2
-rw-r--r--src/Blocks/BlockHandler.h2
3 files changed, 3 insertions, 3 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");
}
diff --git a/src/Blocks/BlockFarmland.h b/src/Blocks/BlockFarmland.h
index 7efd062d5..83a8385c2 100644
--- a/src/Blocks/BlockFarmland.h
+++ b/src/Blocks/BlockFarmland.h
@@ -105,7 +105,7 @@ public:
}
// Search for water in a close proximity:
- // Ref.: http://minecraft.gamepedia.com/Farmland#Hydrated_Farmland_Tiles
+ // Ref.: https://minecraft.gamepedia.com/Farmland#Hydration
// TODO: Rewrite this to use the chunk and its neighbors directly
cBlockArea Area;
int BlockX = a_RelX + a_Chunk.GetPosX() * cChunkDef::Width;
diff --git a/src/Blocks/BlockHandler.h b/src/Blocks/BlockHandler.h
index 89d904be1..b96b3b770 100644
--- a/src/Blocks/BlockHandler.h
+++ b/src/Blocks/BlockHandler.h
@@ -140,7 +140,7 @@ public:
and wakes up all simulators on the block. */
virtual void Check(cChunkInterface & ChunkInterface, cBlockPluginInterface & a_PluginInterface, int a_RelX, int a_RelY, int a_RelZ, cChunk & a_Chunk);
- /** Returns the base colour ID of the block, as will be represented on a map, as per documentation: http://minecraft.gamepedia.com/Map_item_format */
+ /** Returns the base colour ID of the block, as will be represented on a map, as per documentation: https://minecraft.gamepedia.com/Map_item_format */
virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta);
/** Rotates a given block meta counter-clockwise. Default: no change