diff options
author | Mattes D <github@xoft.cz> | 2014-01-17 11:27:56 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-01-17 11:27:56 +0100 |
commit | 79c1f6f43844a85abac53f4c61bff398b88b669d (patch) | |
tree | f938528aed92ffdbea0c5d15f84f738c65c9d8d4 /src/WorldStorage/WSSAnvil.cpp | |
parent | Fixed SIGABRT_COMPAT on other architectures. (diff) | |
parent | Changed GetContent function. (diff) | |
download | cuberite-79c1f6f43844a85abac53f4c61bff398b88b669d.tar cuberite-79c1f6f43844a85abac53f4c61bff398b88b669d.tar.gz cuberite-79c1f6f43844a85abac53f4c61bff398b88b669d.tar.bz2 cuberite-79c1f6f43844a85abac53f4c61bff398b88b669d.tar.lz cuberite-79c1f6f43844a85abac53f4c61bff398b88b669d.tar.xz cuberite-79c1f6f43844a85abac53f4c61bff398b88b669d.tar.zst cuberite-79c1f6f43844a85abac53f4c61bff398b88b669d.zip |
Diffstat (limited to 'src/WorldStorage/WSSAnvil.cpp')
-rw-r--r-- | src/WorldStorage/WSSAnvil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp index f8e5a2fdf..72c47aa14 100644 --- a/src/WorldStorage/WSSAnvil.cpp +++ b/src/WorldStorage/WSSAnvil.cpp @@ -1150,7 +1150,7 @@ void cWSSAnvil::LoadFallingBlockFromNBT(cEntityList & a_Entities, const cParsedN void cWSSAnvil::LoadMinecartRFromNBT(cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx) { - std::auto_ptr<cEmptyMinecart> Minecart(new cEmptyMinecart(0, 0, 0)); + std::auto_ptr<cRideableMinecart> Minecart(new cRideableMinecart(0, 0, 0, cItem(), 1)); // TODO: Load the block and the height if (!LoadEntityBaseFromNBT(*Minecart.get(), a_NBT, a_TagIdx)) { return; |