summaryrefslogtreecommitdiffstats
path: root/src/Blocks/WorldInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/WorldInterface.h')
-rw-r--r--src/Blocks/WorldInterface.h3
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 &)>;