aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Level.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/Level.h')
-rw-r--r--Minecraft.World/Level.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/Level.h b/Minecraft.World/Level.h
index 946b21e3..eb750aff 100644
--- a/Minecraft.World/Level.h
+++ b/Minecraft.World/Level.h
@@ -438,7 +438,7 @@ public:
vector<shared_ptr<Entity> > getAllEntities();
void tileEntityChanged(int x, int y, int z, shared_ptr<TileEntity> te);
// unsigned int countInstanceOf(BaseObject::Class *clas);
- unsigned int countInstanceOf(eINSTANCEOF clas, bool singleType, unsigned int *protectedCount = NULL, unsigned int *couldWanderCount = NULL); // 4J added
+ unsigned int countInstanceOf(eINSTANCEOF clas, bool singleType, unsigned int *protectedCount = nullptr, unsigned int *couldWanderCount = nullptr); // 4J added
unsigned int countInstanceOfInRange(eINSTANCEOF clas, bool singleType, int range, int x, int y, int z); // 4J Added
void addEntities(vector<shared_ptr<Entity> > *list);
virtual void removeEntities(vector<shared_ptr<Entity> > *list);