summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockCrops.h
diff options
context:
space:
mode:
authorSpongecade <spongecade.129@gmail.com>2023-09-27 20:07:42 +0200
committerGitHub <noreply@github.com>2023-09-27 20:07:42 +0200
commitebeb164d2be6754908a9c562850e585f18f70b88 (patch)
treef0396dc592063fab48a622049ac43e35a8bc9f66 /src/Blocks/BlockCrops.h
parentOnly enable werror for debug (#5501) (diff)
downloadcuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar
cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.gz
cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.bz2
cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.lz
cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.xz
cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.zst
cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.zip
Diffstat (limited to 'src/Blocks/BlockCrops.h')
-rw-r--r--src/Blocks/BlockCrops.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Blocks/BlockCrops.h b/src/Blocks/BlockCrops.h
index 90a5badc9..b323ace10 100644
--- a/src/Blocks/BlockCrops.h
+++ b/src/Blocks/BlockCrops.h
@@ -65,7 +65,7 @@ private:
}
case E_BLOCK_CROPS:
{
- // https://minecraft.fandom.com/wiki/Seeds_(Wheat)
+ // https://minecraft.wiki/w/Seeds_(Wheat)
Res.Add(E_ITEM_WHEAT);
const auto SeedCount = CalculateSeedCount(1, 3, ToolFortuneLevel(a_Tool));
Res.Add(E_ITEM_SEEDS, SeedCount);
@@ -73,19 +73,19 @@ private:
}
case E_BLOCK_CARROTS:
{
- // https://minecraft.gamepedia.com/Carrot#Breaking
+ // https://minecraft.wiki/w/Carrot#Breaking
const auto CarrotCount = CalculateSeedCount(1, 4, ToolFortuneLevel(a_Tool));
Res.Add(E_ITEM_CARROT, CarrotCount);
break;
}
case E_BLOCK_POTATOES:
{
- // https://minecraft.gamepedia.com/Potato#Breaking
+ // https://minecraft.wiki/w/Potato#Breaking
const auto PotatoCount = CalculateSeedCount(2, 3, ToolFortuneLevel(a_Tool));
Res.Add(E_ITEM_POTATO, PotatoCount);
if (rand.RandBool(0.02))
{
- // https://minecraft.gamepedia.com/Poisonous_Potato#Obtaining
+ // https://minecraft.wiki/w/Poisonous_Potato#Obtaining
// With a 2% chance, drop a poisonous potato as well:
Res.Add(E_ITEM_POISONOUS_POTATO);
}