summaryrefslogtreecommitdiffstats
path: root/src/Chunk.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-03-21 15:18:17 +0100
committerMattes D <github@xoft.cz>2015-03-21 15:18:17 +0100
commitcc069ccb2a03db87e9de45ee84df9e2bd0b50545 (patch)
treee25723d95c7724505f7756a0dbbb0d48f68c7ddf /src/Chunk.h
parentUnified cByteBuffer types. (diff)
downloadcuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.tar
cuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.tar.gz
cuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.tar.bz2
cuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.tar.lz
cuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.tar.xz
cuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.tar.zst
cuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index 1ce862371..4522f56e1 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -241,7 +241,7 @@ public:
void AddEntity(cEntity * a_Entity);
void RemoveEntity(cEntity * a_Entity);
- bool HasEntity(int a_EntityID);
+ bool HasEntity(UInt32 a_EntityID);
/** Calls the callback for each entity; returns true if all entities processed, false if the callback aborted by returning true */
bool ForEachEntity(cEntityCallback & a_Callback); // Lua-accessible
@@ -251,7 +251,7 @@ public:
bool ForEachEntityInBox(const cBoundingBox & a_Box, cEntityCallback & a_Callback); // Lua-accessible
/** Calls the callback if the entity with the specified ID is found, with the entity object as the callback param. Returns true if entity found. */
- bool DoWithEntityByID(int a_EntityID, cEntityCallback & a_Callback, bool & a_CallbackResult); // Lua-accessible
+ bool DoWithEntityByID(UInt32 a_EntityID, cEntityCallback & a_Callback, bool & a_CallbackResult); // Lua-accessible
/** Calls the callback for each block entity; returns true if all block entities processed, false if the callback aborted by returning true */
bool ForEachBlockEntity(cBlockEntityCallback & a_Callback); // Lua-accessible