diff options
Diffstat (limited to 'Minecraft.World/ProtectionEnchantment.cpp')
| -rw-r--r-- | Minecraft.World/ProtectionEnchantment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/ProtectionEnchantment.cpp b/Minecraft.World/ProtectionEnchantment.cpp index 13a6836c..8304529b 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 != nullptr) + if (pe != NULL) { if (pe->type == type) { |
