aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/SetCreativeModeSlotPacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/SetCreativeModeSlotPacket.cpp')
-rw-r--r--Minecraft.World/SetCreativeModeSlotPacket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/SetCreativeModeSlotPacket.cpp b/Minecraft.World/SetCreativeModeSlotPacket.cpp
index d650327b..17e36b37 100644
--- a/Minecraft.World/SetCreativeModeSlotPacket.cpp
+++ b/Minecraft.World/SetCreativeModeSlotPacket.cpp
@@ -11,11 +11,11 @@ SetCreativeModeSlotPacket::SetCreativeModeSlotPacket()
this->item = nullptr;
}
-SetCreativeModeSlotPacket::SetCreativeModeSlotPacket(int slotNum, std::shared_ptr<ItemInstance> item)
+SetCreativeModeSlotPacket::SetCreativeModeSlotPacket(int slotNum, shared_ptr<ItemInstance> item)
{
this->slotNum = slotNum;
// 4J - take copy of item as we want our packets to have full ownership of any referenced data
- this->item = item ? item->copy() : std::shared_ptr<ItemInstance>();
+ this->item = item ? item->copy() : shared_ptr<ItemInstance>();
}
void SetCreativeModeSlotPacket::handle(PacketListener *listener)