summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorHax52 <jay.bourgeois7@gmail.com>2015-06-23 04:00:15 +0200
committerhax52 <jay.bourgeois7@gmail.com>2015-06-24 20:52:56 +0200
commit9f1d1c058fa5fe415a264be710d774dc37e12f5e (patch)
tree45298832af28e55e24239e3821ca72730440ecd8 /src/Bindings
parentMerge pull request #2274 from cuberite/ItemsRemovalFix (diff)
downloadcuberite-9f1d1c058fa5fe415a264be710d774dc37e12f5e.tar
cuberite-9f1d1c058fa5fe415a264be710d774dc37e12f5e.tar.gz
cuberite-9f1d1c058fa5fe415a264be710d774dc37e12f5e.tar.bz2
cuberite-9f1d1c058fa5fe415a264be710d774dc37e12f5e.tar.lz
cuberite-9f1d1c058fa5fe415a264be710d774dc37e12f5e.tar.xz
cuberite-9f1d1c058fa5fe415a264be710d774dc37e12f5e.tar.zst
cuberite-9f1d1c058fa5fe415a264be710d774dc37e12f5e.zip
Diffstat (limited to 'src/Bindings')
-rw-r--r--src/Bindings/ManualBindings_World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings_World.cpp b/src/Bindings/ManualBindings_World.cpp
index ddbebce78..d9590de33 100644
--- a/src/Bindings/ManualBindings_World.cpp
+++ b/src/Bindings/ManualBindings_World.cpp
@@ -490,7 +490,7 @@ static int tolua_cWorld_ScheduleTask(lua_State * tolua_S)
auto task = std::make_shared<cLuaScheduledWorldTask>(*Plugin, FnRef);
Plugin->AddResettable(task);
- World->ScheduleTask(DelayTicks, task);
+ World->ScheduleTask(DelayTicks, static_cast<cWorld::cTaskPtr>(task));
return 0;
}