Querz / mcaselector

A tool to select chunks from Minecraft worlds for deletion or export.
MIT License
3.07k stars 171 forks source link

Fix issue #425 #470

Closed Zarinoow closed 3 months ago

Zarinoow commented 3 months ago

I've had problems with block filling on my side. I've investigated the problem and created a fix. I saw that someone else (issue #425 ) had the same problem as me and with my version it replaces the blocks well.

image

Querz commented 3 months ago

Instead of using a try-catch, section.getCompound() can be switched to section.getCompoundTag(), which doesn't throw an exception but returns null if the requested CompoundTag doesn't exist.