aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ContainerSetSlotPacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/ContainerSetSlotPacket.cpp')
-rw-r--r--Minecraft.World/ContainerSetSlotPacket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/ContainerSetSlotPacket.cpp b/Minecraft.World/ContainerSetSlotPacket.cpp
index 6a038244..42892f3c 100644
--- a/Minecraft.World/ContainerSetSlotPacket.cpp
+++ b/Minecraft.World/ContainerSetSlotPacket.cpp
@@ -22,7 +22,7 @@ ContainerSetSlotPacket::ContainerSetSlotPacket(int containerId, int slot, shared
{
this->containerId = containerId;
this->slot = slot;
- this->item = item == nullptr ? item : item->copy();
+ this->item = item == NULL ? item : item->copy();
}
void ContainerSetSlotPacket::handle(PacketListener *listener)