diff options
author | Hax52 <jay.bourgeois7@gmail.com> | 2015-06-23 04:00:15 +0200 |
---|---|---|
committer | hax52 <jay.bourgeois7@gmail.com> | 2015-06-24 20:52:56 +0200 |
commit | 9f1d1c058fa5fe415a264be710d774dc37e12f5e (patch) | |
tree | 45298832af28e55e24239e3821ca72730440ecd8 /src/Bindings/ManualBindings_World.cpp | |
parent | Merge pull request #2274 from cuberite/ItemsRemovalFix (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Bindings/ManualBindings_World.cpp | 2 |
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; } |