Terpo / Waterworks

Waterworks Mod for Minecraft
MIT License
5 stars 0 forks source link

Fixed a bug with Mekanism Pipes #78

Closed TheCutter closed 4 years ago

TheCutter commented 4 years ago

Added rainCollectorRange

Terpo commented 4 years ago

Even if I don't like this solution for the pipes I will merge it. Normally in 1.12 a mod should first call hasCapability and after that call getCapability.

Thanks for the range fix.

TheCutter commented 4 years ago

Thanks! Don't know if only Mekanism has the problem, but I put a CollectorBlock next to an existing Mechanical Pipe and the server crashed. I was not able to restart the server until I fixed the check. I think the additional check doesn't hurt. :)

BTW nice mod for modpacks with finite water. I combined it with my own mod which syncs time and weather to my real time and weather. I'm happy it is raining today in Germany.

Terpo commented 4 years ago

Saxony is awaiting some rain too. But yeah. It is basically a NPE at this point in the code. Download: https://www.curseforge.com/minecraft/mc-mods/waterworks/files/2942595