From 9d620a20a0d1fa6af8b6af044610563a7af77712 Mon Sep 17 00:00:00 2001 From: Lane Kolbly Date: Sat, 13 Jun 2015 16:09:43 -0500 Subject: Work on NetherPortalScanner. Setup portal scanner to reset PortalCooldown. Changed where player is spawned. Added a_InitSpawn flag to CreateAndInitializeWorld. --- src/Root.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Root.h') diff --git a/src/Root.h b/src/Root.h index a484db657..0eae21384 100644 --- a/src/Root.h +++ b/src/Root.h @@ -69,7 +69,7 @@ public: The dimension parameter is used to create a world with a specific dimension a_OverworldName should be set for non-overworld dimensions if one wishes that world to link back to an overworld via portals */ - cWorld * CreateAndInitializeWorld(const AString & a_WorldName, eDimension a_Dimension = dimOverworld, const AString & a_OverworldName = ""); + cWorld * CreateAndInitializeWorld(const AString & a_WorldName, eDimension a_Dimension = dimOverworld, const AString & a_OverworldName = "", bool a_InitSpawn = true); /** Returns the up time of the server in seconds */ int GetServerUpTime(void) -- cgit v1.2.3