adepierre / Botcraft

Botcraft is a cross-platform C++ library to create bots that connect and interact with Minecraft servers with (optional) integrated OpenGL renderer
GNU General Public License v3.0
405 stars 43 forks source link

Fix nullptr string construction on version 1.12.2 #153

Closed niansa closed 3 weeks ago

niansa commented 1 month ago

Previously passing 0 would lead to GetBlockstate being called with nullptr.

adepierre commented 1 month ago

Thanks, will merge it for the next release