aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/BrewingStandMenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/BrewingStandMenu.cpp')
-rw-r--r--Minecraft.World/BrewingStandMenu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.World/BrewingStandMenu.cpp b/Minecraft.World/BrewingStandMenu.cpp
index 2200f47c..4f9e2ac3 100644
--- a/Minecraft.World/BrewingStandMenu.cpp
+++ b/Minecraft.World/BrewingStandMenu.cpp
@@ -69,7 +69,7 @@ shared_ptr<ItemInstance> BrewingStandMenu::quickMoveStack(shared_ptr<Player> pla
Slot *PotionSlot2 = slots.at(BOTTLE_SLOT_START+1);
Slot *PotionSlot3 = slots.at(BOTTLE_SLOT_START+2);
- if (slot != nullptr && slot->hasItem())
+ if (slot != NULL && slot->hasItem())
{
shared_ptr<ItemInstance> stack = slot->getItem();
clicked = stack->copy();
@@ -199,7 +199,7 @@ bool BrewingStandMenu::PotionSlot::mayCombine(shared_ptr<ItemInstance> second)
bool BrewingStandMenu::PotionSlot::mayPlaceItem(shared_ptr<ItemInstance> item)
{
- return item != nullptr && (item->id == Item::potion_Id || item->id == Item::glassBottle_Id);
+ return item != NULL && (item->id == Item::potion_Id || item->id == Item::glassBottle_Id);
}
@@ -210,7 +210,7 @@ BrewingStandMenu::IngredientsSlot::IngredientsSlot(shared_ptr<Container> contain
bool BrewingStandMenu::IngredientsSlot::mayPlace(shared_ptr<ItemInstance> item)
{
- if (item != nullptr)
+ if (item != NULL)
{
if (PotionBrewing::SIMPLIFIED_BREWING)
{