well this should fix the nullpointer bug but can't test bc java crashed

This commit is contained in:
sirjonasxx 2018-11-28 00:00:59 +01:00
parent 4173cf7a56
commit 57a19801a1

View File

@ -101,7 +101,7 @@ public class UiLoggerController implements Initializable {
packet.headerId()
);
if (!(viewMessageName && !viewMessageHash && message.getName() == null)) {
if ( message != null && !(viewMessageName && !viewMessageHash && message.getName() == null)) {
if (viewMessageName && message.getName() != null) {
elements.add(new Element("["+message.getName()+"]", "messageinfo"));
}