aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/RedStoneOreTile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/RedStoneOreTile.cpp')
-rw-r--r--Minecraft.World/RedStoneOreTile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/RedStoneOreTile.cpp b/Minecraft.World/RedStoneOreTile.cpp
index b7551932..407da2cc 100644
--- a/Minecraft.World/RedStoneOreTile.cpp
+++ b/Minecraft.World/RedStoneOreTile.cpp
@@ -124,5 +124,5 @@ bool RedStoneOreTile::shouldTileTick(Level *level, int x,int y,int z)
shared_ptr<ItemInstance> RedStoneOreTile::getSilkTouchItemInstance(int data)
{
- return shared_ptr<ItemInstance>(new ItemInstance(Tile::redStoneOre));
+ return std::make_shared<ItemInstance>(Tile::redStoneOre);
} \ No newline at end of file