summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemSpiderEye.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/ItemSpiderEye.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/ItemSpiderEye.h')
-rw-r--r--src/Items/ItemSpiderEye.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Items/ItemSpiderEye.h b/src/Items/ItemSpiderEye.h
index 63631e30c..0f420d1b9 100644
--- a/src/Items/ItemSpiderEye.h
+++ b/src/Items/ItemSpiderEye.h
@@ -7,14 +7,12 @@
-class cItemSpiderEyeHandler final:
- public cItemFoodHandler
+class cItemSpiderEyeHandler final : public cItemFoodHandler
{
using Super = cItemFoodHandler;
-public:
-
- constexpr cItemSpiderEyeHandler(int a_ItemType):
+ public:
+ constexpr cItemSpiderEyeHandler(int a_ItemType) :
Super(a_ItemType, FoodInfo(2, 3.2))
{
}
@@ -30,5 +28,4 @@ public:
return true;
}
-
};