mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-03 18:45:01 +00:00
refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
@@ -19,7 +19,7 @@ ContainerSetSlotPacket::ContainerSetSlotPacket(
|
||||
int containerId, int slot, std::shared_ptr<ItemInstance> item) {
|
||||
this->containerId = containerId;
|
||||
this->slot = slot;
|
||||
this->item = item == NULL ? item : item->copy();
|
||||
this->item = item == nullptr ? item : item->copy();
|
||||
}
|
||||
|
||||
void ContainerSetSlotPacket::handle(PacketListener* listener) {
|
||||
|
||||
Reference in New Issue
Block a user