diff options
author | peterbell10 <peterbell10@live.co.uk> | 2018-08-29 02:51:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-29 02:51:25 +0200 |
commit | ee8419701472be9f24c51a41ee7b7ef3cf38f329 (patch) | |
tree | b689d4657ec4bb2de7e47f43f670e99b564f85a7 /src/Blocks/WorldInterface.h | |
parent | Store and pass entity effect duration as an int not a short. (#4293) (diff) | |
download | cuberite-ee8419701472be9f24c51a41ee7b7ef3cf38f329.tar cuberite-ee8419701472be9f24c51a41ee7b7ef3cf38f329.tar.gz cuberite-ee8419701472be9f24c51a41ee7b7ef3cf38f329.tar.bz2 cuberite-ee8419701472be9f24c51a41ee7b7ef3cf38f329.tar.lz cuberite-ee8419701472be9f24c51a41ee7b7ef3cf38f329.tar.xz cuberite-ee8419701472be9f24c51a41ee7b7ef3cf38f329.tar.zst cuberite-ee8419701472be9f24c51a41ee7b7ef3cf38f329.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/WorldInterface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Blocks/WorldInterface.h b/src/Blocks/WorldInterface.h index e49283402..da9075fb4 100644 --- a/src/Blocks/WorldInterface.h +++ b/src/Blocks/WorldInterface.h @@ -1,7 +1,7 @@ #pragma once -#include "FunctionRef.h" +#include "../FunctionRef.h" #include "../Mobs/MonsterTypes.h" class cBedEntity; @@ -13,6 +13,7 @@ class cPlayer; using cBedCallback = cFunctionRef<bool(cBedEntity &)>; using cBlockEntityCallback = cFunctionRef<bool(cBlockEntity &)>; using cPlayerListCallback = cFunctionRef<bool(cPlayer &)>; +using cEntityCallback = cFunctionRef<bool(cEntity &)>; |