mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-16 08:21:54 +00:00
refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
@@ -25,7 +25,7 @@ bool BaseEntityTile::triggerEvent(Level* level, int x, int y, int z, int b0,
|
||||
int b1) {
|
||||
Tile::triggerEvent(level, x, y, z, b0, b1);
|
||||
std::shared_ptr<TileEntity> te = level->getTileEntity(x, y, z);
|
||||
if (te != NULL) {
|
||||
if (te != nullptr) {
|
||||
return te->triggerEvent(b0, b1);
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user