summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-08-20 22:12:48 +0200
committerGitHub <noreply@github.com>2016-08-20 22:12:48 +0200
commit2f11655f00b12125a56b4ec3ea44b787c6d76d1a (patch)
tree84b27dd89cddd52941bec2c0f352a7234753cfcd
parentFixed minecraft with chest destruction crash (#3335) (diff)
downloadcuberite-2f11655f00b12125a56b4ec3ea44b787c6d76d1a.tar
cuberite-2f11655f00b12125a56b4ec3ea44b787c6d76d1a.tar.gz
cuberite-2f11655f00b12125a56b4ec3ea44b787c6d76d1a.tar.bz2
cuberite-2f11655f00b12125a56b4ec3ea44b787c6d76d1a.tar.lz
cuberite-2f11655f00b12125a56b4ec3ea44b787c6d76d1a.tar.xz
cuberite-2f11655f00b12125a56b4ec3ea44b787c6d76d1a.tar.zst
cuberite-2f11655f00b12125a56b4ec3ea44b787c6d76d1a.zip
-rw-r--r--src/Entities/Minecart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Minecart.cpp b/src/Entities/Minecart.cpp
index 130ea955f..3b58a1ef9 100644
--- a/src/Entities/Minecart.cpp
+++ b/src/Entities/Minecart.cpp
@@ -1215,7 +1215,7 @@ void cMinecartWithChest::Destroyed()
// This makes the command not execute if the world is in the midst of destruction :)
- GetWorld()->ScheduleTask(1, [this, &Pickups](cWorld & World)
+ GetWorld()->ScheduleTask(1, [this, Pickups](cWorld & World)
{
World.SpawnItemPickups(Pickups, GetPosX(), GetPosY() + 1, GetPosZ(), 4);
});