aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ResultContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/ResultContainer.cpp')
-rw-r--r--Minecraft.World/ResultContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/ResultContainer.cpp b/Minecraft.World/ResultContainer.cpp
index 8c85d0c3..7c8dd1c1 100644
--- a/Minecraft.World/ResultContainer.cpp
+++ b/Minecraft.World/ResultContainer.cpp
@@ -33,7 +33,7 @@ bool ResultContainer::hasCustomName()
shared_ptr<ItemInstance> ResultContainer::removeItem(unsigned int slot, int count)
{
- if (items[0] != NULL)
+ if (items[0] != nullptr)
{
shared_ptr<ItemInstance> item = items[0];
items[0] = nullptr;
@@ -44,7 +44,7 @@ shared_ptr<ItemInstance> ResultContainer::removeItem(unsigned int slot, int coun
shared_ptr<ItemInstance> ResultContainer::removeItemNoUpdate(int slot)
{
- if (items[0] != NULL)
+ if (items[0] != nullptr)
{
shared_ptr<ItemInstance> item = items[0];
items[0] = nullptr;