henkelmax / gravestone

Places a gravestone with your inventory items inside when you die.
21 stars 35 forks source link

correctly obtain replacable blocks from ids #101

Closed facetorched closed 2 years ago

facetorched commented 2 years ago

This is a pretty simple fix. The method getObject takes a string block id. It was silently throwing an exception because is surrounded by a catch-all. (not how I would do it)

All I did was use getObject correctly so that the returned block will not always be null. This means that the config for replacable blocks will actually work now.

henkelmax commented 2 years ago

1.7.10 is unsupported for a couple of years. I am only maintaining the last 2-3 major MC releases.