Terasology / Rails

Base rail module for minecarts and such
10 stars 17 forks source link

Blowing up rails causes exceptions #32

Closed anuar2k closed 6 years ago

anuar2k commented 6 years ago

In 75% times when a rail gets blown up (it doesn't matter what causes the explosion) the NullPointerException is raised. It's really hard to define when it does happen, but it's easy to replicate the issue.

Log: https://gist.github.com/anuar2k/6d9cc6885ec33d415711e9b16e60d07f

eviltak commented 6 years ago

Just as IntelliJ quite nicely points out, dereferencing the blockDamageModifierComponent causes a NPE. This is an engine issue.