summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemPoisonousPotato.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
committerAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
commitcb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a (patch)
treef647b20e1823f1846af88e832cf82a4a02e96e69 /src/Items/ItemPoisonousPotato.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-clang-format-codebase.tar
cuberite-clang-format-codebase.tar.gz
cuberite-clang-format-codebase.tar.bz2
cuberite-clang-format-codebase.tar.lz
cuberite-clang-format-codebase.tar.xz
cuberite-clang-format-codebase.tar.zst
cuberite-clang-format-codebase.zip
Diffstat (limited to 'src/Items/ItemPoisonousPotato.h')
-rw-r--r--src/Items/ItemPoisonousPotato.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Items/ItemPoisonousPotato.h b/src/Items/ItemPoisonousPotato.h
index 849633b5b..7e47f1713 100644
--- a/src/Items/ItemPoisonousPotato.h
+++ b/src/Items/ItemPoisonousPotato.h
@@ -7,14 +7,12 @@
-class cItemPoisonousPotatoHandler final:
- public cItemFoodHandler
+class cItemPoisonousPotatoHandler final : public cItemFoodHandler
{
using Super = cItemFoodHandler;
-public:
-
- constexpr cItemPoisonousPotatoHandler(int a_ItemType):
+ public:
+ constexpr cItemPoisonousPotatoHandler(int a_ItemType) :
Super(a_ItemType, FoodInfo(2, 1.2))
{
}
@@ -33,5 +31,4 @@ public:
return true;
}
-
};