diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-12 18:04:41 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-12 18:04:41 +0100 |
commit | f11427e8cd5506204958eec68a8ac2a9152df108 (patch) | |
tree | cce60b10962d911daf4b70e96c21701b975b1eb8 /src/WorldStorage/WSSAnvil.cpp | |
parent | EmptyMinecarts should be able to get a block inside of them. (diff) | |
download | cuberite-f11427e8cd5506204958eec68a8ac2a9152df108.tar cuberite-f11427e8cd5506204958eec68a8ac2a9152df108.tar.gz cuberite-f11427e8cd5506204958eec68a8ac2a9152df108.tar.bz2 cuberite-f11427e8cd5506204958eec68a8ac2a9152df108.tar.lz cuberite-f11427e8cd5506204958eec68a8ac2a9152df108.tar.xz cuberite-f11427e8cd5506204958eec68a8ac2a9152df108.tar.zst cuberite-f11427e8cd5506204958eec68a8ac2a9152df108.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 4fac1bd8d..28ec4e0af 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, cItem(), 1)); // TODO: Load the block and the height + 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; |