summaryrefslogtreecommitdiffstats
path: root/src/NetherPortalScanner.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/NetherPortalScanner.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.gz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.bz2
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.lz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.xz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.zst
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.zip
Diffstat (limited to 'src/NetherPortalScanner.h')
-rw-r--r--src/NetherPortalScanner.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/NetherPortalScanner.h b/src/NetherPortalScanner.h
index b6d66a088..d54aa8a57 100644
--- a/src/NetherPortalScanner.h
+++ b/src/NetherPortalScanner.h
@@ -14,7 +14,7 @@ class cWorld;
// This is the chunk stay which finds nearby nether portals
class cNetherPortalScanner : public cChunkStay
{
-public:
+ public:
cNetherPortalScanner(cEntity & a_MovingEntity, cWorld & a_DestinationWorld, Vector3d a_DestPosition, int a_MaxY);
virtual void OnChunkAvailable(int a_ChunkX, int a_ChunkY) override;
virtual bool OnAllChunksAvailable(void) override;
@@ -26,8 +26,7 @@ public:
Y
};
-private:
-
+ private:
/** Length and height, including the obsidian. */
static const int PortalLength = 4;
static const int PortalHeight = 5;