tterrag1098 / Registrate

Your mod's best friend - keep your registry objects simple and organized
Mozilla Public License 2.0
114 stars 32 forks source link

FluidBuilder default block is not replaceable/opt-out #20

Closed tterrag1098 closed 4 years ago

tterrag1098 commented 4 years ago

Since FluidBuilder#defaultBlock creates a BlockBuilder, builds it, and then disposes of it. You cannot safely call this method again. The floating BlockBuilder will continue to exist. It should be cached in the builder and registered only when the fluid is registered.