thomaswp / BeaverBuddies

GNU General Public License v3.0
18 stars 3 forks source link

Client crashes when placing a waterwheel #17

Closed thomaswp closed 1 month ago

thomaswp commented 7 months ago

Describe the bug

Can confirm this happens for both the client and server. Doesn't actually look like a mod bug but still investigating. Does not always happen, but seems to have something to do with previewing the power connectors.

It does seem to be cause by the mod, but not by networking (can happen with only the server open in host mode, but doesn't seem to happen if not in host mode).

My guess is that delaying the building of the waterwheel until the end of a tick, as happens, violates some assumption of the preview, which causes the NPE.

Logs: On both the server and client computer, do the following steps: Sever: LogOutput.log

thomaswp commented 2 months ago

Need to try reproducing this on Update 6 - may just be an issue with TB that was fixed.

thomaswp commented 1 month ago

Confirming this is still happening on Update 6 :(

thomaswp commented 1 month ago

Seems to be a UI-only bug, so I fixed it by catching and ignoring the error - seems to be ok.