diff options
Diffstat (limited to 'Minecraft.World/TradeWithPlayerGoal.cpp')
| -rw-r--r-- | Minecraft.World/TradeWithPlayerGoal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/TradeWithPlayerGoal.cpp b/Minecraft.World/TradeWithPlayerGoal.cpp index e8b791d1..155525bc 100644 --- a/Minecraft.World/TradeWithPlayerGoal.cpp +++ b/Minecraft.World/TradeWithPlayerGoal.cpp @@ -19,7 +19,7 @@ bool TradeWithPlayerGoal::canUse() if (mob->hurtMarked) return false; shared_ptr<Player> trader = mob->getTradingPlayer(); - if (trader == NULL) + if (trader == nullptr) { // no interaction return false; |
