Skip to content

Conversation

Zarinoow
Copy link
Contributor

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
Copy link
Owner

Querz commented Apr 17, 2024

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.

@Querz Querz merged commit ced60fc into Querz:master Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants