aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/CraftingContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/CraftingContainer.cpp')
-rw-r--r--Minecraft.World/CraftingContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/CraftingContainer.cpp b/Minecraft.World/CraftingContainer.cpp
index 3ec1b039..47a11eb4 100644
--- a/Minecraft.World/CraftingContainer.cpp
+++ b/Minecraft.World/CraftingContainer.cpp
@@ -58,7 +58,7 @@ bool CraftingContainer::hasCustomName()
shared_ptr<ItemInstance> CraftingContainer::removeItemNoUpdate(int slot)
{
- if ((*items)[slot] != nullptr)
+ if ((*items)[slot] != NULL)
{
shared_ptr<ItemInstance> item = (*items)[slot];
(*items)[slot] = nullptr;
@@ -69,7 +69,7 @@ shared_ptr<ItemInstance> CraftingContainer::removeItemNoUpdate(int slot)
shared_ptr<ItemInstance> CraftingContainer::removeItem(unsigned int slot, int count)
{
- if ((*items)[slot] != nullptr)
+ if ((*items)[slot] != NULL)
{
if ((*items)[slot]->count <= count)
{