aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/HorseInventoryMenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/HorseInventoryMenu.cpp')
-rw-r--r--Minecraft.World/HorseInventoryMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/HorseInventoryMenu.cpp b/Minecraft.World/HorseInventoryMenu.cpp
index 7dba791f..467b3545 100644
--- a/Minecraft.World/HorseInventoryMenu.cpp
+++ b/Minecraft.World/HorseInventoryMenu.cpp
@@ -75,7 +75,7 @@ shared_ptr<ItemInstance> HorseInventoryMenu::quickMoveStack(shared_ptr<Player> p
{
shared_ptr<ItemInstance> clicked = nullptr;
Slot *slot = slots.at(slotIndex);
- if (slot != NULL && slot->hasItem())
+ if (slot != nullptr && slot->hasItem())
{
shared_ptr<ItemInstance> stack = slot->getItem();
clicked = stack->copy();