summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-09 14:32:58 +0200
committerMattes D <github@xoft.cz>2014-09-09 14:32:58 +0200
commitfeb408424caaa63bd907126d6c963ccf7d5cdb05 (patch)
treec0c499e3395e24ea42f9b18895658d698f0204e4 /src/Blocks
parentUpdate Zip2008_PDBs.list (diff)
parentActually set default (diff)
downloadcuberite-feb408424caaa63bd907126d6c963ccf7d5cdb05.tar
cuberite-feb408424caaa63bd907126d6c963ccf7d5cdb05.tar.gz
cuberite-feb408424caaa63bd907126d6c963ccf7d5cdb05.tar.bz2
cuberite-feb408424caaa63bd907126d6c963ccf7d5cdb05.tar.lz
cuberite-feb408424caaa63bd907126d6c963ccf7d5cdb05.tar.xz
cuberite-feb408424caaa63bd907126d6c963ccf7d5cdb05.tar.zst
cuberite-feb408424caaa63bd907126d6c963ccf7d5cdb05.zip
Diffstat (limited to 'src/Blocks')
-rw-r--r--src/Blocks/WorldInterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/WorldInterface.h b/src/Blocks/WorldInterface.h
index d1c6f9bfc..b43d011d8 100644
--- a/src/Blocks/WorldInterface.h
+++ b/src/Blocks/WorldInterface.h
@@ -17,7 +17,7 @@ class cWorldInterface
public:
virtual ~cWorldInterface() {}
- virtual Int64 GetTimeOfDay(void) const = 0;
+ virtual int GetTimeOfDay(void) const = 0;
virtual Int64 GetWorldAge(void) const = 0;
virtual eDimension GetDimension(void) const = 0;
@@ -44,7 +44,7 @@ public:
/** Calls the callback for each player in the list; returns true if all players processed, false if the callback aborted by returning true */
virtual bool ForEachPlayer(cItemCallback<cPlayer> & a_Callback) = 0;
- virtual void SetTimeOfDay(Int64 a_TimeOfDay) = 0;
+ virtual void SetTimeOfDay(int a_TimeOfDay) = 0;
/** Returns true if it is raining, stormy or snowing at the specified location. This takes into account biomes. */
virtual bool IsWeatherWetAt(int a_BlockX, int a_BlockZ) = 0;