diff options
Diffstat (limited to 'Minecraft.World/Snowball.cpp')
| -rw-r--r-- | Minecraft.World/Snowball.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/Snowball.cpp b/Minecraft.World/Snowball.cpp index 6588ac96..bb873b20 100644 --- a/Minecraft.World/Snowball.cpp +++ b/Minecraft.World/Snowball.cpp @@ -31,7 +31,7 @@ Snowball::Snowball(Level *level, double x, double y, double z) : Throwable(level void Snowball::onHit(HitResult *res) { - if (res->entity != NULL) + if (res->entity != nullptr) { int damage = 0; if ( res->entity->instanceof(eTYPE_BLAZE) ) |
