summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemPumpkin.h
diff options
context:
space:
mode:
authorhallucino <d@t0t0.fr>2015-07-16 15:06:54 +0200
committerhallucino <d@t0t0.fr>2015-07-16 22:49:55 +0200
commit9c85ed5864d53057ebde6f756f89b400172e52b5 (patch)
tree2dda40bc792a22b420105e89c2f4d18a49c18fff /src/Items/ItemPumpkin.h
parentMerge pull request #2348 from bibo38/customname (diff)
downloadcuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.gz
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.bz2
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.lz
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.xz
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.zst
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemPumpkin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Items/ItemPumpkin.h b/src/Items/ItemPumpkin.h
index fa00179d3..7a53d522f 100644
--- a/src/Items/ItemPumpkin.h
+++ b/src/Items/ItemPumpkin.h
@@ -96,7 +96,7 @@ public:
}
// Spawn the golem:
- a_World.SpawnMob(static_cast<double>(a_BlockX) + 0.5, a_BlockY - 2, static_cast<double>(a_BlockZ) + 0.5, mtSnowGolem);
+ a_World.SpawnMob(static_cast<double>(a_BlockX) + 0.5, a_BlockY - 2, static_cast<double>(a_BlockZ) + 0.5, mtSnowGolem, false);
return true;
}
@@ -142,7 +142,7 @@ public:
}
// Spawn the golem:
- a_World.SpawnMob(static_cast<double>(a_BlockX) + 0.5, a_BlockY - 2, static_cast<double>(a_BlockZ) + 0.5, mtIronGolem);
+ a_World.SpawnMob(static_cast<double>(a_BlockX) + 0.5, a_BlockY - 2, static_cast<double>(a_BlockZ) + 0.5, mtIronGolem, false);
return true;
} // for i - ArmOffsets[]