aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ProtectionEnchantment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/ProtectionEnchantment.cpp')
-rw-r--r--Minecraft.World/ProtectionEnchantment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/ProtectionEnchantment.cpp b/Minecraft.World/ProtectionEnchantment.cpp
index 8304529b..13a6836c 100644
--- a/Minecraft.World/ProtectionEnchantment.cpp
+++ b/Minecraft.World/ProtectionEnchantment.cpp
@@ -54,7 +54,7 @@ int ProtectionEnchantment::getDescriptionId()
bool ProtectionEnchantment::isCompatibleWith(Enchantment *other) const
{
ProtectionEnchantment *pe = dynamic_cast<ProtectionEnchantment *>( other );
- if (pe != NULL)
+ if (pe != nullptr)
{
if (pe->type == type)
{